Home
last modified time | relevance | path

Searched refs:tensor_x3 (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_concat.cc39 …auto tensor_x3 = TensorConstructUtils::CreateOnesTensor(kNumberTypeFloat32, std::vector<int64_t>{3… in TEST_F() local
42 MS_EXCEPTION_IF_NULL(tensor_x3); in TEST_F()
43 …input_tuple = std::make_shared<ValueTuple>(std::vector<ValuePtr>{tensor_x1, tensor_x2, tensor_x3}); in TEST_F()
73 …auto tensor_x3 = TensorConstructUtils::CreateOnesTensor(kNumberTypeFloat16, std::vector<int64_t>{3… in TEST_F() local
76 MS_EXCEPTION_IF_NULL(tensor_x3); in TEST_F()
77 …input_tuple = std::make_shared<ValueTuple>(std::vector<ValuePtr>{tensor_x1, tensor_x2, tensor_x3}); in TEST_F()
Dtest_ops_range.cc83 auto tensor_x3 = std::make_shared<tensor::Tensor>(kNumberTypeFloat32, std::vector<int64_t>{1}); in TEST_F() local
86 MS_EXCEPTION_IF_NULL(tensor_x3); in TEST_F()
95 auto data_x3 = tensor_x3->data_c(); in TEST_F()
99 …auto abstract = range->Infer({tensor_x1->ToAbstract(), tensor_x2->ToAbstract(), tensor_x3->ToAbstr… in TEST_F()
Dtest_ops_addn.cc69 …auto tensor_x3 = TensorConstructUtils::CreateOnesTensor(kNumberTypeBool, std::vector<int64_t>{3, 4… in TEST_F() local
72 MS_EXCEPTION_IF_NULL(tensor_x3); in TEST_F()
73 …input_tuple = std::make_shared<ValueTuple>(std::vector<ValuePtr>{tensor_x1, tensor_x2, tensor_x3}); in TEST_F()