Home
last modified time | relevance | path

Searched refs:MeTensor (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dtypes.h41 using MeTensor = mindspore::tensor::Tensor; variable
42 using MeTensorPtr = std::shared_ptr<MeTensor>;
55 using TensorMap = std::unordered_map<std::string, std::shared_ptr<MeTensor>>;
Dop_adapter_util.cc182 if (value->isa<MeTensor>()) { in ConvertAnyUtil()
184 return ConvertAnyUtil(value, AnyTraits<MeTensor>()); in ConvertAnyUtil()
Dutil.cc346 MeTensor me_tensor(me_type, me_dims); in GenerateMeTensor()
370 return make_shared<MeTensor>(me_tensor); in GenerateMeTensor()
Dconvert.cc1850 if (vec[i]->isa<MeTensor>()) { in TryConvertValueNodeToMultiConst()
/third_party/mindspore/tests/ut/cpp/transform/
Dtransform_base_test.h39 void PrintMeTensor(MeTensor* tensor);
Dgraph_runner_test.cc112 MeTensor tensor = MeTensor(TypeId::kNumberTypeFloat32, std::vector<int64_t>({1, 2, 3})); in TEST_F()
Dtransform_base_test.cc51 void PrintMeTensor(MeTensor* tensor) { in PrintMeTensor()
Dconvert_test.cc629 MeTensor me_tensor(type_id, dims); in TEST_F()
634 auto me_tensor_ptr = std::make_shared<MeTensor>(me_tensor); in TEST_F()
652 auto me_tensor_ptr = std::make_shared<MeTensor>(type_id, dims); in TEST_F()
659 auto me_tensor_ptr_2 = std::make_shared<MeTensor>(type_id_2, dims2); in TEST_F()
718 MeTensor& me_tensor = *me_tensor_ptr; in TEST_F()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute_ge.cc39 using MeTensor = mindspore::tensor::Tensor; typedef
59 if (py::isinstance<MeTensor>(obj)) { in ConvertPyObjToTensor()