Home
last modified time | relevance | path

Searched defs:model_path (Results 1 – 25 of 59) sorted by relevance

123

/third_party/mindspore/mindspore-src/source/mindspore/lite/test/st/python/
Dtest_inference_cloud.py66 def model_common_predict(context, model_path, in_data_path, input_shapes): argument
83 def runner_common_predict(context, model_path, in_data_path, input_shapes): argument
97 def test_model_inference_cpu(model_path, in_data_path, input_shapes): argument
106 def test_model_inference_gpu(model_path, in_data_path, input_shapes): argument
116 def test_model_inference_ascend(model_path, in_data_path, input_shapes): argument
126 def test_parallel_inference_cpu(model_path, in_data_path, input_shapes): argument
136 def test_parallel_inference_gpu(model_path, in_data_path, input_shapes): argument
147 def test_parallel_inference_ascend(model_path, in_data_path, input_shapes): argument
157 def test_model_group_for_ascend(model_path, in_data_path, input_shapes): argument
Dtest_inference.py22 def common_predict(context, model_path, in_data_path): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/examples/cloud_infer/ascend_parallel_python/
Dparallel_predict_utils.py30 def predict_process_func(pipe_child_end, model_path, device_id): argument
70 def __init__(self, model_path, device_num): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/examples/runtime_cpp/
Dmain.cc330 int Run(const char *model_path) { in Run()
375 int RunResize(const char *model_path) { in RunResize()
427 int RunCreateModelComplicated(const char *model_path) { in RunCreateModelComplicated()
471 int RunModelParallel(const char *model_path) { in RunModelParallel()
539 int RunWithSharedMemoryPool(const char *model_path) { in RunWithSharedMemoryPool()
646 int RunCallback(const char *model_path) { in RunCallback()
743 int RunEncryptedInfer(const char *model_path, const char *dec_key_str, const char *crypto_lib_path)… in RunEncryptedInfer()
813 auto model_path = RealPath(argv[1]); in main() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/text/kernels/
Dsentence_piece_tokenizer_op.cc36 SentencePieceTokenizerOp::SentencePieceTokenizerOp(const std::string &model_path, const std::string… in SentencePieceTokenizerOp()
84 Status SentencePieceTokenizerOp::GetModelRealPath(const std::string &model_path, const std::string … in GetModelRealPath()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/cxx_api/model/
Dmodel_group_impl.cc48 for (auto &model_path : model_path_list) { in AddModel() local
105 for (auto &model_path : model_path_list_) { in CalMaxSizeOfWorkspace() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model/
Dmodel_group_impl.cc44 for (auto &model_path : model_path_list) { in AddModel() local
99 for (auto &model_path : model_path_list_) { in CalMaxSizeOfWorkspace() local
Dmodel_impl.cc245 const std::string &model_path) { in LoadGraphByBufferImpl()
294 bool ModelImpl::IsEnableModelSharing(const std::string &model_path) { in IsEnableModelSharing()
305 const std::string &model_path) { in UpdateSharingWorkspaceConfig()
338 … const std::shared_ptr<Context> &model_context, const std::string &model_path) { in BuildByBufferImpl()
477 Status ModelImpl::Build(const std::string &model_path, ModelType model_type, in Build()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/mslite_bench/mslite_bench/graphs/
Dgraph_modifier_factory.py23 def create_graph_modifier(model_path): argument
Dtf_graph_modifier.py26 def __init__(self, model_path): argument
Donnx_graph_modifier.py26 def __init__(self, model_path): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/examples/cloud_infer/gpu_trt_distributed_cpp/
Dmain.cc50 std::string AddNumberBeforeExtension(std::string model_path, int rank_id) { in AddNumberBeforeExtension()
64 std::string model_path = argv[1]; in QuickStart() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/test/ut/tools/converter/parser/tflite/
Dtflite_parsers_test_utils.cc23 schema::MetaGraphT *TestTfliteParser::LoadAndConvert(const std::string &model_path, const std::stri… in LoadAndConvert()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/mslite_bench/mslite_bench/common/
Dtask_common_func.py37 model_path, argument
106 def init_mslite_cfg(cls, args, model_path): argument
/third_party/mindspore/mindspore-src/source/include/api/
Dmodel.h425 Status Model::Build(const std::string &model_path, ModelType model_type, const std::shared_ptr<Cont… in Build()
431 Status Model::Build(const std::string &model_path, ModelType model_type, in Build()
Dmodel_parallel_runner.h164 Status ModelParallelRunner::Init(const std::string &model_path, const std::shared_ptr<RunnerConfig>… in Init()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/
Dmodel_manager.cc24 void ModelManager::AddModel(const std::string model_path) { (void)model_path_set_.insert(model_path… in AddModel()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/
Dmodel_manager.cc24 void ModelManager::AddModel(const std::string model_path) { (void)model_path_set_.insert(model_path… in AddModel()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/coreml/
Dcoreml_graph.cc66 auto model_path = SaveMLModel(); in Init() local
159 auto model_path = std::string(getenv("HOME")) + "/tmp/" + model_name; in SaveMLModel() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/mindir_loader/mindir_model/
Dmindir_model.h59 void SetModelPath(const std::string &model_path) { this->model_path_ = model_path; } in SetModelPath()
/third_party/mindspore/mindspore-src/source/mindspore/lite/examples/cloud_infer/gpu_trt_distributed_python/
Dmain.py36 model_path = args.model_path.replace( variable
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/common/
Dpy_func_graph_fetcher.h38 : model_path_(model_path), doResolve_(doResolve), do_signatue_(do_signature) { in model_path_() argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/llm_engine/
Dllm_engine_impl.cc128 for (auto &model_path : model_paths) { in AddModel() local
324 FuncGraphPtr LLMEngineImpl::LoadMindIR(const std::string &model_path) { in LoadMindIR()
347 Status LLMEngineImpl::LoadAndGetModelInfo(const std::string &model_path, LLMEngineModelInfo *model_… in LoadAndGetModelInfo()
/third_party/mindspore/mindspore-src/source/mindspore/lite/python/api/
Dmodel.py137 …def build_from_file(self, model_path, model_type, context=None, config_path="", config_dict: dict … argument
483 def build_from_file(self, model_path, context=None): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/cxx_api/model_pool/
Dmodel_parallel_runner_impl.cc25 Status ModelParallelRunnerImpl::Init(const std::string &model_path, in Init()

123