| /third_party/mindspore/mindspore-src/source/mindspore/lite/examples/runtime_cpp/ |
| D | main.cc | 249 mindspore::Model *CreateAndBuildModel(char *model_buf, size_t model_size) { in CreateAndBuildModel() 281 mindspore::Model *CreateAndBuildModelComplicated(char *model_buf, size_t size) { in CreateAndBuildModelComplicated() 333 char *model_buf = ReadFile(model_path, &size); in Run() local 377 char *model_buf = ReadFile(model_path, &size); in RunResize() local 429 char *model_buf = ReadFile(model_path, &size); in RunCreateModelComplicated() local 473 char *model_buf = ReadFile(model_path, &size); in RunModelParallel() local 541 char *model_buf = ReadFile(model_path, &size); in RunWithSharedMemoryPool() local 648 char *model_buf = ReadFile(model_path, &size); in RunCallback() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/ |
| D | cache_session.cc | 182 int CacheSession::ParseInputOutputFromModelBuffer(const char *model_buf, LiteModel *model) { in ParseInputOutputFromModelBuffer() 200 auto model_buf = LoadModelByPath(model_path, model_type, &model_size, use_mmap); in LoadModelAndCompileByPath() local 240 Model *CacheSession::ImportInOutFromBuffer(const char *model_buf, size_t size, bool take_buf, minds… in ImportInOutFromBuffer() 402 char *model_buf; in LoadModelByPath() local
|
| D | runtime_convert.cc | 24 char *RuntimeConvert(const char *model_buf, const size_t &buf_size, size_t *size, mindspore::Contex… in RuntimeConvert() 122 void *model_buf = nullptr; in RuntimeConvert() local
|
| D | pack_weight.cc | 20 STATUS PackWeight::InitPackWeight(const void *model_buf, size_t model_size, std::string id, int num… in InitPackWeight() 81 STATUS PackWeight::StoreOriginTensorData(const void *model_buf, const void *origin_tensor_data) { in StoreOriginTensorData() 136 STATUS PackWeight::ReplaceOriginTensorData(const void *model_buf, std::vector<Tensor *> *tensors, i… in ReplaceOriginTensorData() 254 void *model_buf = shared_bufs_[id][numa_id]; in FreePackWeight() local
|
| D | lite_model.cc | 450 int InitModelBuffer(LiteModel *model, const char *model_buf, size_t size, bool take_buf) { in InitModelBuffer() 476 int LiteModel::ConstructModel(const char *model_buf, size_t size, bool take_buf, 607 Model *ImportFromBuffer(const char *model_buf, size_t size, bool take_buf, mindspore::ModelType mod… 668 Model *Model::Import(const char *model_buf, size_t size) { return ImportFromBuffer(model_buf, size,…
|
| D | pack_weight_manager.cc | 104 const char *model_buf, size_t model_size, std::string *model_id, std::string *runner_id, in InitPackWeightManager() 129 char *PackWeightManager::GetSharedModelBuf(const char *model_buf, std::string model_id, in GetSharedModelBuf()
|
| D | lite_session.cc | 1871 lite::LiteSession *lite::LiteSession::CreateSession(const char *model_buf, size_t size, in CreateSession() 1888 mindspore::ModelType lite::LiteSession::LoadModelByBuff(const char *model_buf, const size_t &buf_si… in LoadModelByBuff() 1925 char *model_buf; in LoadModelByPath() local 2051 int lite::LiteSession::LoadModelAndCompileByBuf(const char *model_buf, mindspore::ModelType model_t… in LoadModelAndCompileByBuf() 2102 auto model_buf = LoadModelByPath(model_path, model_type, &model_size, use_mmap); in LoadModelAndCompileByBuf() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/mindir_loader/ |
| D | model_loader.cc | 22 int ModelLoader::InitModelBuffer(AbstractBaseModel *model, const char *model_buf, size_t size, bool… in InitModelBuffer()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/micro/coder/ |
| D | coder.cc | 160 auto model_buf = lite::ReadFile(model_file.c_str(), &buffer_size); in MicroSourceCodeGeneration() local 178 int Coder::ExecuteMicroGeneration(const void *model_buf, size_t size, const std::string &output_pat… in ExecuteMicroGeneration()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/providers/nnie/src/ |
| D | nnie_manager.h | 33 static NNIEManager *GetInstance(const void *model_buf) { in GetInstance()
|
| D | custom_fp32.cc | 172 auto model_buf = static_cast<const void *>(inputs[inputs.size() - 1].Data().get()); in CustomCreateKernel() local
|
| D | nnie_manager.cc | 206 int NNIEManager::Init(char *model_buf, int size, const std::vector<mindspore::MSTensor> &inputs) { in Init()
|
| D | nnie_common.cc | 361 int NnieLoadModel(char *model_buf, int size, NnieModel *nnie_model) { in NnieLoadModel()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model_pool/ |
| D | model_worker.cc | 45 void ModelWorker::InitModelWorker(const char *model_buf, size_t size, in InitModelWorker() 112 Status ModelWorker::Init(const char *model_buf, size_t size, ModelType model_type) { in Init()
|
| D | resource_manager.cc | 251 void InitWorkerThread::Launch(std::shared_ptr<ModelWorker> worker, const char *model_buf, size_t si… in Launch() 273 void InitWorkerManager::InitModelWorker(std::shared_ptr<ModelWorker> worker, const char *model_buf,… in InitModelWorker()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/examples/quick_start_cpp/ |
| D | main.cc | 123 char *model_buf = ReadFile(model_path.c_str(), &size); in QuickStart() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/examples/runtime_gpu_extend/ |
| D | main.cc | 140 char *model_buf = ReadFile(model_path.c_str(), &size); in CompileAndRun() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model/ |
| D | model.cc | 54 Status DecryptModel(const std::string &cropto_lib_path, const void *model_buf, size_t model_size, c… in DecryptModel() 118 auto model_buf = lite::ReadFile(CharToString(model_path).c_str(), &model_size); in Build() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/ |
| D | serialization.cc | 116 auto model_buf = session.LoadModelByPath(filename, model_type, &model_size, false); in Load() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/common/ |
| D | file_utils.cc | 188 char *model_buf = nullptr; in ReadFile() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/model/ |
| D | model.cc | 52 Status DecryptModel(const std::string &cropto_lib_path, const void *model_buf, size_t model_size, c… in DecryptModel() 185 auto model_buf = lite::ReadFile(CharToString(model_path).c_str(), &model_size); in Build() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/mindir_loader/mindir_model/ |
| D | mindir_model_loader.cc | 28 AbstractBaseModel *MindirModelLoader::ImportModel(const char *model_buf, size_t size, bool take_buf… in ImportModel()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/delegate/graph_executor/litert/ |
| D | func_graph_reuse_manager.cc | 87 Status FuncGraphReuseManager::StoreFbModelBuf(void *model_buf, size_t data_size, in StoreFbModelBuf()
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/src/api/ |
| D | model_parallel_runner_test.cc | 212 auto model_buf = lite::ReadFile(model_path, &size); in TEST_F() local
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/tools/common/ |
| D | graph_util.cc | 683 int TransferMetaGraph(const schema::MetaGraphT &graph, void **model_buf, size_t *size) { in TransferMetaGraph()
|