Home
last modified time | relevance | path

Searched defs:lite_tensor (Results 1 – 11 of 11) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/tensor/
Dtensor_impl.cc47 …auto lite_tensor = lite::Tensor::CreateTensor(name, static_cast<enum TypeId>(type), truncated_shap… in CreateTensorImpl() local
66 auto lite_tensor = in CreateTensorImplByDeepCopy() local
110 auto lite_tensor = new (std::nothrow) lite::Tensor(); in StringsToTensorImpl() local
140 auto lite_tensor = impl->lite_tensor(); in TensorImplToStrings() local
Dtensor_impl.h286 lite::Tensor *lite_tensor() const { return lite_tensor_; } in lite_tensor() function
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/utils/
Dtensor_utils.cc170 kernel::AddressPtr CloudTensorUtils::LiteTensorToAddressPtr(const lite::Tensor *lite_tensor) { in LiteTensorToAddressPtr()
179 for (auto lite_tensor : lite_tensors) { in LiteTensorToAddressPtrVec() local
187 kernel::KernelTensor *CloudTensorUtils::LiteTensorToKernelTensorPtr(const lite::Tensor *lite_tensor in LiteTensorToKernelTensorPtr()
210 for (auto lite_tensor : lite_tensors) { in LiteTensorToKernelTensorPtrVec() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/mindir_loader/mindir_model/
Dmindir_model.cc134 auto *lite_tensor = new mindspore::lite::Tensor(data_type, shape, format, category); in ConvertTensor() local
142 int MindirModel::LoadTensorData(mindspore::lite::Tensor *lite_tensor, const mind_ir::TensorProto &m… in LoadTensorData()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/kernel_executor/
Dkernel_executor_impl.cc326 auto lite_tensor = static_cast<lite::Tensor *>(lite_impl->lite_tensor()); in InitTensors() local
384 bool KernelExecutorImpl::TensorIsValid(const MSTensor &ms_tensor, const lite::Tensor *lite_tensor) { in TensorIsValid()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/quantizer/
Ddebug_info_manager.cc470 auto lite_tensor = quant::MSTensorToLiteTensor(inputs.at(i)); in GetOriginBeforeCallBack() local
505 auto lite_tensor = quant::MSTensorToLiteTensor(tensor); in GetQuantBeforeCallBack() local
563 auto lite_tensor = quant::MSTensorToLiteTensor(tensor); in GetAfterCallBack() local
592 auto lite_tensor = quant::MSTensorToLiteTensor(tensor); in GetAfterCallBack() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/session/
Dlite_infer_session.cc280 [](mindspore::lite::Tensor *lite_tensor) { in ConvertToTensorNames()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/c_api/
Dtensor_c.cc60 auto lite_tensor = in OH_AI_TensorCreate() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/train/
Dtrain_session.cc504 auto lite_tensor = static_cast<lite::Tensor *>(ms_tensor); in RunGraph() local
557 lite::Tensor *lite_tensor = static_cast<lite::Tensor *>(ms_tensor); in Train() local
589 lite::Tensor *lite_tensor = static_cast<lite::Tensor *>(ms_tensor); in Eval() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/legacy_optimizer/graph/
Dinfershape_pass.cc91 std::unique_ptr<Tensor> lite_tensor = nullptr; in ConvertTensorList() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/nnrt/
Dnnrt_delegate.cc810 schema::Tensor *NNRTDelegate::TensorToSchemaTensor(Tensor *lite_tensor, schema::Tensor *schema_tens… in TensorToSchemaTensor()