Home
last modified time | relevance | path

Searched refs:tuple_tensor (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/tests/ut/cpp/operator/
Dcomposite_test.cc98 auto tuple_tensor = std::make_shared<AbstractTuple>(eles); in TEST_F() local
101 AbstractBasePtrList args_spec_list = {tuple_tensor, start_index, stop_index}; in TEST_F()
123 auto tuple_tensor = std::make_shared<AbstractTuple>(eles); in TEST_F() local
125 AbstractBasePtrList args_spec_list = {tuple_tensor, start_index}; in TEST_F()
155 auto tuple_tensor = std::make_shared<AbstractTuple>(eles); in TEST_F() local
160 AbstractBasePtrList args_spec_list = {tuple_tensor, slice}; in TEST_F()
181 auto tuple_tensor = std::make_shared<AbstractTuple>(eles); in TEST_F() local
186 AbstractBasePtrList args_spec_list = {tuple_tensor, slice}; in TEST_F()
207 auto tuple_tensor = std::make_shared<AbstractTuple>(eles); in TEST_F() local
212 AbstractBasePtrList args_spec_list = {tuple_tensor, slice}; in TEST_F()
[all …]
/third_party/mindspore/tests/ut/cpp/ir/
Dmeta_tensor_test.cc178 Tensor tuple_tensor(data_type->type_id(), shape); in TEST_F() local
179 ASSERT_EQ(2, tuple_tensor.DimensionSize(0)); in TEST_F()
180 ASSERT_EQ(3, tuple_tensor.DimensionSize(1)); in TEST_F()
181 ASSERT_EQ(4, tuple_tensor.DimensionSize(2)); in TEST_F()
184 ASSERT_EQ(24, tuple_tensor.ElementsNum()); in TEST_F()
185 ASSERT_EQ(TypeId::kNumberTypeFloat32, tuple_tensor.data_type()); in TEST_F()