Home
last modified time | relevance | path

Searched defs:tensor2 (Results 1 – 20 of 20) sorted by relevance

/third_party/mindspore/mindspore-src/source/tests/ut/cpp/cxx_api/
Dtypes_test.cc68 MSTensor tensor2 = tensor; in TEST_F() local
79 MSTensor *tensor2 = tensor.Clone(); in TEST_F() local
92 MSTensor tensor2 = tensor; in TEST_F() local
105 MSTensor *tensor2 = tensor.Clone(); in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/
Dscheduler_test.cc108 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in TEST_F() local
269 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in TEST_F() local
401 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in TEST_F() local
Dutils_test.cc39 auto tensor2 = std::make_shared<lite::Tensor>(); in TEST_F() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/python_input/gtest_input/pynative/
Dops_test.py97 tensor2 = Tensor(np.ones([3, 1]), dtype=mindspore.float32) variable
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/ascend/kernel/aicpu/aicpu_ops/customize/op_proto/utils/
Dlinalg_ops_shape_fns.cc57 graphStatus MatrixSolve(const TensorDesc &tensor1, const TensorDesc &tensor2, bool square, Shape &o… in MatrixSolve()
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/st/
Doptimize_allocator_test.cc94 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in CreateModel1() local
Dmix_data_type_test.cc144 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in ConstructModel() local
Dmultiple_device_test.cc98 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in CreateMultyModel1() local
202 auto tensor2 = std::make_unique<mindspore::schema::TensorT>(); in CreateMultyModel2() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/c_api/
Dnode_test.cc111 TensorHandle tensor2 = MSNewTensor(res_mgr, b_data, MS_INT32, b_shape, 2, 2 * sizeof(int)); in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/nnacl/infer/
Dinfer_manager_test.cc112 Tensor *tensor2 = new Tensor; in TEST_F() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/pass/
Dcommon_subexpression_elimination.cc133 auto tensor2 = GetValueNode<tensor::TensorPtr>(inp2_j); in CheckEqualCnodeInputs() local
/third_party/mindspore/mindspore-src/source/tests/st/ops/dynamic_shape/
Dtest_dynamic_setitem.py138 def __call__(self, tensor1, tensor2): argument
150 def construct(self, tensor1, tensor2): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/
Dtensor_c_utils.c425 bool IsShapeSame(const TensorC *tensor1, const TensorC *tensor2) { in IsShapeSame()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/utils/
Dcse.cc261 auto tensor2 = GetValueNode<tensor::TensorPtr>(input2); in CheckReplace() local
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/mindapi/
Dmindapi_test.cc385 auto tensor2 = MakeShared<Tensor>(kNumberTypeFloat32, shape); in TEST_F() local
/third_party/mindspore/mindspore-src/source/tests/st/pynative/jit/
Dtest_pynative_jit.py537 def construct(self, tensor1, tensor2): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/common/
Dtensor.py1286 def addcdiv(self, tensor1, tensor2, value=1): argument
1292 def addcmul(self, tensor1, tensor2, value=1): argument
4376 def matmul(self, tensor2): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/
Dtrt_op_converter.cc593 nvinfer1::ITensor *tensor2 = ToTensor(&inputs[1], shape2, context); in MS_TRT_CONVERTER_FUNC_REG() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/
Dmath_func.py282 def addcdiv(input, tensor1, tensor2, value=1): argument
323 def addcmul(input, tensor1, tensor2, value=1): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/_extends/parse/
Dstandard_method.py132 def addcdiv(input, tensor1, tensor2, value=1): argument
149 def addcmul(input, tensor1, tensor2, value=1): argument