Home
last modified time | relevance | path

Searched defs:tensor_name (Results 1 – 25 of 44) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/debug/
Dtensor_load.h39 void MoveTensorCurrentToPrev(std::string tensor_name) { in MoveTensorCurrentToPrev()
49 bool TensorExistsInCurrent(std::string tensor_name) const { in TensorExistsInCurrent()
54 …bool PrevTensorExistsInCurrent(std::string tensor_name) const { return TensorExistsInCurrent(tenso… in PrevTensorExistsInCurrent()
71 bool IsPrevTensor(std::string tensor_name) const { in IsPrevTensor()
79 auto tensor_name = tensor->GetName(); in LoadNewTensor() local
114 std::shared_ptr<TensorData> GetTensor(const std::string &tensor_name) const { in GetTensor()
120 std::shared_ptr<TensorData> GetPrevTensor(const std::string &tensor_name) { in GetPrevTensor()
150 void AppendToCacheEvictQueue(const std::string &tensor_name) { in AppendToCacheEvictQueue()
197 …bool DumpTensorToFile(const std::string &tensor_name, bool trans_flag, const std::string &filepath, in DumpTensorToFile()
Ddebug_services.cc212 const auto tensor_name = tensor->GetName(); in AddWatchPointsToCheck() local
255 const std::string &tensor_name) { in AddAnalyzedTensorToCache()
332 const auto tensor_name = tensor->GetName(); in CheckWatchpointsForTensor() local
556 void DebugServices::ReadTensorFromNpy(const std::string &tensor_name, const std::string &file_name, in ReadTensorFromNpy()
1255 bool DebugServices::DumpTensorToFile(const std::string &tensor_name, bool trans_flag, const std::st… in DumpTensorToFile()
1523 bool DebugServices::TensorExistsInCurrent(const std::string &tensor_name) { in TensorExistsInCurrent()
1526 void DebugServices::MoveTensorCurrentToPrev(const std::string &tensor_name) { in MoveTensorCurrentToPrev()
1530 void DebugServices::AppendToCacheEvictQueue(const std::string &tensor_name) { in AppendToCacheEvictQueue()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/include/api/
Dmodel.h66 MSTensor Model::GetInputByTensorName(const std::string &tensor_name) { in GetInputByTensorName()
72 MSTensor Model::GetOutputByTensorName(const std::string &tensor_name) { in GetOutputByTensorName()
76 std::vector<MSTensor> Model::GetOutputsByNodeName(const std::string &tensor_name) { in GetOutputsByNodeName()
/third_party/mindspore/include/api/
Dmodel.h221 MSTensor Model::GetInputByTensorName(const std::string &tensor_name) { in GetInputByTensorName()
227 MSTensor Model::GetOutputByTensorName(const std::string &tensor_name) { in GetOutputByTensorName()
/third_party/mindspore/mindspore/lite/src/train/
Dtrain_session.h73 …mindspore::tensor::MSTensor *GetInputsByTensorName(const std::string &tensor_name) const override { in GetInputsByTensorName()
84 …mindspore::tensor::MSTensor *GetOutputByTensorName(const std::string &tensor_name) const override { in GetOutputByTensorName()
/third_party/mindspore/mindspore/lite/tools/converter/
Dconverter_context.h98 …void UpdateGraphInputTensorShape(const std::string &tensor_name, const std::vector<int64_t> &shape… in UpdateGraphInputTensorShape()
101 std::vector<int64_t> GetGraphInputTensorShape(const std::string &tensor_name) const { in GetGraphInputTensorShape()
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/benchmark/
Dcalib_output.h35 String tensor_name() const { return tensor_name_; } in tensor_name() function
Dcalib_output.cc54 std::string tensor_name; in ReadCalibData() local
/third_party/mindspore/mindspore/lite/micro/example/mnist_x86/benchmark/
Dcalib_output.h35 String tensor_name() const { return tensor_name_; } in tensor_name() function
Dcalib_output.cc54 std::string tensor_name; in ReadCalibData() local
/third_party/mindspore/mindspore/lite/micro/example/mnist_x86/src/
Dsession.h62 …mindspore::tensor::MSTensor *GetInputsByTensorName(const String &tensor_name) const override { ret… in GetInputsByTensorName()
Dtensor.h55 String tensor_name() const override { return tensor_name_; } in tensor_name() function
/third_party/mindspore/mindspore/lite/micro/example/mnist_stm32f746/mnist_stm32f746/src/
Dsession.h62 …mindspore::tensor::MSTensor *GetInputsByTensorName(const String &tensor_name) const override { ret… in GetInputsByTensorName()
Dtensor.h55 String tensor_name() const override { return tensor_name_; } in tensor_name() function
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/
Dmodel.cc138 MSTensor Model::GetInputByTensorName(const std::vector<char> &tensor_name) { in GetInputByTensorName()
158 MSTensor Model::GetOutputByTensorName(const std::vector<char> &tensor_name) { in GetOutputByTensorName()
/third_party/mindspore/tests/ut/cpp/cxx_api/
Dtypes_test.cc39 std::string tensor_name = "Name1"; in TEST_F() local
145 std::string tensor_name = "tensor_name"; in TEST_F() local
162 std::string tensor_name = "tensor_name"; in TEST_F() local
/third_party/mindspore/mindspore/lite/tools/benchmark/
Dbenchmark_c_api.cc251 int BenchmarkCApi::GetDataTypeByTensorName(const std::string &tensor_name) { in GetDataTypeByTensorName()
261 std::string tensor_name = calib_tensor.first; in CompareOutput() local
Dbenchmark_base.cc149 std::string tensor_name; in ReadCalibData() local
173 int BenchmarkBase::ReadTensorData(std::ifstream &in_file_stream, const std::string &tensor_name, in ReadTensorData()
Dbenchmark_unified_api.cc122 int BenchmarkUnifiedApi::GetDataTypeByTensorName(const std::string &tensor_name) { in GetDataTypeByTensorName()
171 std::string tensor_name = calib_tensor.first; in CompareOutput() local
Dbenchmark.cc113 int Benchmark::GetDataTypeByTensorName(const std::string &tensor_name) { in GetDataTypeByTensorName()
162 std::string tensor_name = calib_tensor.first; in CompareOutput() local
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/
Dtensorrt_allocator.cc74 void *TensorRTAllocator::GetDevicePtr(const std::string &tensor_name) { in GetDevicePtr()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_device_address.cc131 bool GPUDeviceAddress::LoadMemToHost(const std::string &tensor_name, int execution_order, const std… in LoadMemToHost()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_model_parser.cc217 std::string tensor_name = op_name + "/input-" + std::to_string(index); in GetTensorName() local
612 … const ParameterPtr &parameter, const std::string &tensor_name, in ConvertConstTensor()
709 std::string tensor_name; in ConvertInputTensor() local
/third_party/mindspore/mindspore/lite/src/delegate/npu/
Dnpu_subgraph.cc161 auto tensor_name = "Input_" + std::to_string(count++) + '_' + op->name(); in BuildNPUInputOp() local
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Ddebugger_utils.cc100 string tensor_name = kernel_name + ':' + std::to_string(j); in LoadOutputs() local

12