Home
last modified time | relevance | path

Searched defs:tensor_data (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mindspore/tests/ut/data/dump/gpu_dumps/golden/
Dread_tensors_nonexist_node_expected.json12 "tensor_data": { object
30 "tensor_data": { object
48 "tensor_data": { object
Dread_tensors_expected.json12 "tensor_data": { object
41 "tensor_data": { object
87 "tensor_data": { object
218 "tensor_data": { object
263 "tensor_data": { object
/third_party/mindspore/mindspore/core/utils/
Dtensor_construct_utils.h26 auto tensor_data = reinterpret_cast<T *>(data); in SetTensorData() local
Dtensor_construct_utils.cc27 auto tensor_data = tensor->data_c(); in CreateZerosTensor() local
40 auto tensor_data = tensor->data_c(); in CreateOnesTensor() local
/third_party/mindspore/tests/st/debugger/
Dtest_sync_trans_true_read_tensor.py62 def print_read_tensors(tensor_info, tensor_data): argument
Dtest_sync_trans_false_read_tensors.py62 def print_read_tensors(tensor_info, tensor_data): argument
Dtest_async_sink_mode_true_read_tensors.py59 def print_read_tensors(tensor_info, tensor_data): argument
/third_party/mindspore/mindspore/ccsrc/utils/
Dconvert_utils.cc48 bool *tensor_data = static_cast<bool *>(tensor->data_c()); in ValueToBool() local
65 auto *tensor_data = static_cast<int32_t *>(tensor->data_c()); in BaseRefToInt() local
69 auto *tensor_data = static_cast<int64_t *>(tensor->data_c()); in BaseRefToInt() local
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_logical_not.cc32 auto tensor_data = reinterpret_cast<T *>(data); in SetTensorData() local
Dtest_ops_strided_slice.cc31 auto tensor_data = reinterpret_cast<T *>(data); in SetTensorData() local
Dtest_ops_assert.cc32 auto tensor_data = reinterpret_cast<T *>(data); in SetTensorData() local
/third_party/mindspore/mindspore/lite/tools/benchmark/
Dbenchmark_c_api.cc299 auto tensor_data = OH_AI_TensorGetData(tensor); in CompareDataGetTotalBiasAndSize() local
357 auto tensor_data = OH_AI_TensorGetData(input); in PrintInputData() local
/third_party/mindspore/tests/ut/cpp/transform/
Dtransform_base_test.cc62 py::array tensor_data = TensorPy::AsNumpy(*tensor); in PrintMeTensor() local
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dconstant_folding_fusion.cc121 auto tensor_data = tensor->MutableData(); in GetCNodeInputTensors() local
153 auto tensor_data = static_cast<uint8_t *>(tensor_info->data_c()); in CreateNewParamter() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Ddiag_fission.cc32 auto tensor_data = reinterpret_cast<T *>(data); in SetAssistTensorData() local
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_model_parser.cc119 auto tensor_data = reinterpret_cast<float *>((*tensor_info)->data_c()); in SetFloatTensorInfo() local
154 auto tensor_data = reinterpret_cast<int *>((*tensor_info)->data_c()); in SetInt32TensorInfo() local
189 auto tensor_data = reinterpret_cast<int *>((*tensor_info)->data_c()); in SetInt64TensorInfo() local
232 auto tensor_data = reinterpret_cast<bool *>((*tensor_info)->data_c()); in SetBoolTensorInfo() local
270 auto tensor_data = new (std::nothrow) string; in SetStringTensorInfo() local
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_node_parser.cc77 auto tensor_data = reinterpret_cast<uint8_t *>(tensor_info->data_c()); in CopyOnnxTensorData() local
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_device_address.cc152 auto tensor_data = std::make_shared<mindspore::TensorData>(); in LoadMemToHost() local
/third_party/mindspore/mindspore/lite/test/common/
Dimport_from_meta_graphT.cc67 auto tensor_data = static_cast<char *>(tensor_info->data_c()); in ConverterConstTensor() local
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dnode_infershape.cc221 std::vector<int> tensor_data; in GetIntVecInput() local
454 auto tensor_data = reinterpret_cast<char *>(malloc(tensor_size)); in ConvertToLiteTensor() local
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfull_quant_quantizer.cc965 const auto *tensor_data = static_cast<const float *>(tensor->MutableData()); in DoInference() local
996 const auto *tensor_data = static_cast<const float *>(tensor->MutableData()); in DoInference() local
1220 const auto *tensor_data = static_cast<const float *>(tensor->MutableData()); in CollectDataFrequency() local
1245 const auto *tensor_data = static_cast<const float *>(tensor->MutableData()); in CollectDataFrequency() local
1505 const int8_t *tensor_data = static_cast<int8_t *>(tensor->MutableData()); in GetInt8AfterCallBack() local
1572 const auto *tensor_data = static_cast<const float *>(tensor->MutableData()); in GetFloatAfterCallBack() local
/third_party/mindspore/tests/ut/cpp/ir/
Dmeta_tensor_test.cc199 double *tensor_data = reinterpret_cast<double *>(tensor->data_c()); in TEST_F() local
286 float *tensor_data = reinterpret_cast<float *>(tensor->data_c()); in TEST_F() local
/third_party/mindspore/mindspore/lite/tools/converter/
Dexport_model.cc106 auto tensor_data = reinterpret_cast<uint8_t *>(tensor_info->data_c()); in CloneParameterAndValueNode() local
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dgather_v2_info.cc209 std::vector<int64_t> tensor_data = {sub_value}; in CreateSubOp() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Davgpool_3d_fusion.cc168 auto tensor_data = reinterpret_cast<float16 *>(tensor->data_c()); in ConstructMultiplier() local
223 auto tensor_data = reinterpret_cast<float16 *>(assist_tensor->data_c()); in ConstructFilterValueNode() local

12