/third_party/mindspore/mindspore/lite/java/native/runtime/ |
D | ms_tensor.cpp | 24 jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_getShape() 44 jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_getDataType() 55 … jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_getByteData() 79 … jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_getLongData() 109 … jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_getIntData() 139 … jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_getFloatData() 169 … jlong tensor_ptr, jbyteArray data, in Java_com_mindspore_lite_MSTensor_setData() 194 … jlong tensor_ptr, in Java_com_mindspore_lite_MSTensor_setByteBufferData() 223 … jlong JNICALL Java_com_mindspore_lite_MSTensor_size(JNIEnv *env, jobject thiz, jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_size() 234 jlong tensor_ptr) { in Java_com_mindspore_lite_MSTensor_elementsNum() [all …]
|
/third_party/mindspore/mindspore/core/base/ |
D | base_ref_utils.cc | 25 auto tensor_ptr = utils::cast<std::shared_ptr<tensor::Tensor>>(ref_list[i]); in IterateFindTensor() local 43 auto tensor_ptr = utils::cast<std::shared_ptr<tensor::Tensor>>(base_ref); in TransformVectorRefToMultiTensor() local
|
/third_party/mindspore/mindspore/lite/src/ |
D | tensorlist.cc | 105 auto tensor_ptr = new (std::nothrow) Tensor(dtype, tensor_shape[i]); in MallocTensorListData() local 129 auto tensor_ptr = this->tensors_[i]; in MallocData() local
|
/third_party/mindspore/mindspore/ccsrc/utils/ |
D | callbacks_ge.cc | 99 TensorPtr tensor_ptr = GetMeTensorTransformed(graph_id, name, ge_tensor_ptr); in CheckpointSaveCallback() local 168 TensorPtr tensor_ptr = GetMeTensorForSummary(tag_name, ge_tensor_ptr); in SummarySaveCallback() local
|
D | callbacks.cc | 46 auto tensor_ptr = item.second; in SummarySaveCallback() local
|
D | convert_utils_py.cc | 122 auto tensor_ptr = value->cast<tensor::TensorPtr>(); in __anone0198b6c0202() local 242 auto tensor_ptr = value.cast<tensor::TensorPtr>(); in AnyToPyData() local 285 auto tensor_ptr = utils::cast<tensor::TensorPtr>(value); in BaseRefToPyData() local
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | convert_const_scalar_to_tensor.cc | 39 tensor::TensorPtr tensor_ptr = ScalarToTensor(value->cast<ScalarPtr>()); in CreateTensorInput() local
|
D | convert_const_input_to_tensor_input.cc | 37 tensor::TensorPtr tensor_ptr = nullptr; in CreateTensorInput() local
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | value_based_eliminate.cc | 48 auto tensor_ptr = value->cast<tensor::TensorPtr>(); in IsNodeScalarTrueWith() local
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/ |
D | gather_v2_info.cc | 210 …mindspore::tensor::TensorPtr tensor_ptr = std::make_shared<mindspore::tensor::Tensor>(tensor_data,… in CreateSubOp() local
|
D | reduce_method_info.cc | 212 …mindspore::tensor::TensorPtr tensor_ptr = std::make_shared<mindspore::tensor::Tensor>(divisor, dty… in CreateReduceMeanForwardOp() local
|
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/ |
D | fullconnection_int8_tests.cc | 47 auto tensor_ptr = reinterpret_cast<int *>(tensor->MutableData()); in MakeIntTensor() local
|
D | matmul_int8_tests.cc | 53 auto tensor_ptr = reinterpret_cast<int8_t *>(tensor->MutableData()); in MakeQuantTensor() local
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/ |
D | generate_graph.cc | 86 mindspore::tensor::TensorPtr tensor_ptr = std::make_shared<tensor::Tensor>(value, kInt32); in CreateInt32Tensor() local
|
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/ |
D | util.cc | 196 …GeTensorPtr tensor_ptr = make_shared<GeTensor>(*desc, static_cast<uint8_t *>(tensor->data_c()), da… in ConvertTensor() local
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | cpu_session.cc | 252 auto tensor_ptr = utils::cast<std::shared_ptr<tensor::Tensor>>(base_ref[i]); in SetOutputFlags() local
|
D | anf_runtime_algorithm.cc | 957 auto tensor_ptr = type_ptr->cast<TensorTypePtr>(); in GetOutputInferDataType() local 2237 auto tensor_ptr = iter_tensor->second; in InferShape() local
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/ |
D | fused_batch_norm_fusion.cc | 71 auto tensor_ptr = value->cast<tensor::TensorPtr>(); in GetFactor() local
|
/third_party/mindspore/tests/ut/cpp/ir/ |
D | meta_tensor_test.cc | 157 std::shared_ptr<Tensor> tensor_ptr = std::make_shared<Tensor>(tensor); in TEST_F() local
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | dump_proto.cc | 218 tensor::TensorPtr tensor_ptr = dyn_cast<tensor::Tensor>(val); in SetValueToProto() local
|
/third_party/mindspore/mindspore/ccsrc/debug/debugger/ |
D | proto_exporter.cc | 154 tensor::TensorPtr tensor_ptr = dyn_cast<tensor::Tensor>(val); in SetValueToProto() local
|
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/ |
D | pynative_execute.cc | 150 auto tensor_ptr = py::cast<tensor::TensorPtr>(obj); in GetId() local 434 tensor::TensorPtr tensor_ptr = opt::CreateTupleTensor(value_tuple); in ConvertValueTupleToTensor() local 465 tensor::TensorPtr tensor_ptr = nullptr; in ConvertPyObjectToTensor() local
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | backend.cc | 577 tensor::TensorPtr tensor_ptr = opt::CreateTupleTensor(value_tuple); in ConvertValueTupleToTensor() local
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/ |
D | kernel_adjust.cc | 519 tensor::TensorPtr tensor_ptr = std::make_shared<tensor::Tensor>(kInt32->type_id(), shp); in CreateSwitchOpParameters() local
|