Home
last modified time | relevance | path

Searched defs:model_data (Results 1 – 25 of 29) sorted by relevance

12

/third_party/mindspore/mindspore-src/source/include/api/
Dserialization.h144 Status Serialization::Load(const void *model_data, size_t data_size, ModelType model_type, Graph *g… in Load()
170 Status Serialization::ExportModel(const Model &model, ModelType model_type, Buffer *model_data, in ExportModel()
Dmodel.h418 Status Model::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/
Dinfer_session.h69 virtual Status CompileGraph(const void *model_data, size_t data_size, uint32_t *graph_id) { in CompileGraph()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/graph/
Dgraph_data.cc41 ge::ModelData model_data; local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/
Dserialization.cc41 Status Serialization::Load(const void *model_data, size_t data_size, ModelType model_type, Graph *g… in Load()
147 Status Serialization::ExportModel(const Model &model, ModelType model_type, Buffer *model_data, in ExportModel()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/cxx_api/model/acl/
Dmodel_converter.cc160 ge::GraphBuffer model_data; in LoadMindIR() local
220 Buffer ModelConverter::LoadAscendIRInner(const Buffer &model_data) { in LoadAscendIRInner()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model_pool/
Dmodel_parallel_runner_impl.cc50 Status ModelParallelRunnerImpl::Init(const void *model_data, size_t data_size, in Init()
Dmodel_parallel_runner.cc156 Status ModelParallelRunner::Init(const void *model_data, size_t data_size, in Init()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/optimizer/trt_pass/
Dgraph_converter.cc49 CNodePtr NewTrtNode(const FuncGraphPtr &graph, const std::string &model_data, const AnfNodePtrList … in NewTrtNode()
144 std::string model_data; in BuildTrtNode() local
Dtrt_converter_context.cc95 std::shared_ptr<nvinfer1::IHostMemory> model_data = TrtPtr(engine_->serialize()); in Serialize() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/
Dconverter.cc959 int ConverterImpl::Convert(const std::shared_ptr<ConverterPara> &param, void **model_data, size_t *… in Convert()
1019 int ConverterImpl::HandleGraphCommon(const std::shared_ptr<ConverterPara> &param, void **model_data in HandleGraphCommon()
1080 …Impl::SaveGraph(FuncGraphPtr graph, const std::shared_ptr<ConverterPara> &param, void **model_data, in SaveGraph()
1132 …SaveMindIRModel(FuncGraphPtr graph, const std::shared_ptr<ConverterPara> &param, void **model_data, in SaveMindIRModel()
1166 int RunConverter(const std::shared_ptr<ConverterPara> &param, void **model_data, size_t *data_size,… in RunConverter()
Dconverter_metagraph.cc121 void **model_data, size_t *data_size, bool not_save) { in Save()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/session/
Dlite_graph_executor.h39 …virtual bool CompileGraph(const void *model_data, size_t data_size, const std::map<string, string>… in CompileGraph()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/utils/
Dserialization.cc94 mindspore::Status Serialization::Load(const void *model_data, size_t data_size, mindspore::ModelTyp… in Load()
/third_party/mesa3d/src/gallium/targets/teflon/
Dtflite-stub.c94 TfLiteModelCreate(const void *model_data, size_t model_size) in TfLiteModelCreate()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model/
Dmodel.cc71 Status Model::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
163 Status Model::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
Dmodel_impl.cc60 FuncGraphPtr CreateFuncGraphFromDataFlow(const void *model_data, size_t data_size) { in CreateFuncGraphFromDataFlow()
472 Status ModelImpl::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/c_api/
Dmodel_c.cc189 OH_AI_Status OH_AI_ModelBuild(OH_AI_ModelHandle model, const void *model_data, size_t data_size, OH… in OH_AI_ModelBuild()
488 OH_AI_Status OH_AI_TrainModelBuild(OH_AI_ModelHandle model, const void *model_data, size_t data_siz… in OH_AI_TrainModelBuild()
675 …ortModelBuffer(OH_AI_ModelHandle model, OH_AI_ModelType model_type, char **model_data, size_t *dat… in OH_AI_ExportModelBuffer()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/model/
Dmodel.cc69 Status Model::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
128 Status Model::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
Dmodel_impl.cc88 Status ModelImpl::BuildAndRun(const void *model_data, size_t data_size, ModelType model_type, in BuildAndRun()
167 Status ModelImpl::Build(const void *model_data, size_t data_size, ModelType model_type, in Build()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/third_party/
Dthird_party_model_parser.cc140 auto model_data = ReadFile(model_file_.c_str(), &model_size); in BuildGraphInputs() local
/third_party/mindspore/mindspore-src/source/mindspore/core/utils/
Dcrypto.cc63 bool IsCipherFile(const Byte *model_data) { in IsCipherFile()
550 std::unique_ptr<Byte[]> Decrypt(size_t *decrypt_len, const Byte *model_data, size_t data_size, cons… in Decrypt()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/cxx_api/
Dserialization.cc102 Status Serialization::Load(const void *model_data, size_t data_size, ModelType model_type, Graph *g… in Load()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/cxx_api/
Dconverter.cc383 void *model_data = nullptr; in Convert() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/
Dserialization.cc127 Status Serialization::Load(const void *model_data, size_t data_size, ModelType model_type, Graph *g… in Load()

12