| /third_party/mindspore/mindspore-src/source/mindspore/lite/test/st/python/ |
| D | test_inference_cloud.py | 66 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
|
| D | test_inference.py | 22 def common_predict(context, model_path, in_data_path): argument
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/examples/cloud_infer/ascend_parallel_python/ |
| D | parallel_predict_utils.py | 30 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/ |
| D | main.cc | 330 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/ |
| D | sentence_piece_tokenizer_op.cc | 36 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/ |
| D | model_group_impl.cc | 48 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/ |
| D | model_group_impl.cc | 44 for (auto &model_path : model_path_list) { in AddModel() local 99 for (auto &model_path : model_path_list_) { in CalMaxSizeOfWorkspace() local
|
| D | model_impl.cc | 245 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/ |
| D | graph_modifier_factory.py | 23 def create_graph_modifier(model_path): argument
|
| D | tf_graph_modifier.py | 26 def __init__(self, model_path): argument
|
| D | onnx_graph_modifier.py | 26 def __init__(self, model_path): argument
|
| /third_party/mindspore/mindspore-src/source/mindspore/lite/examples/cloud_infer/gpu_trt_distributed_cpp/ |
| D | main.cc | 50 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/ |
| D | tflite_parsers_test_utils.cc | 23 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/ |
| D | task_common_func.py | 37 model_path, argument 106 def init_mslite_cfg(cls, args, model_path): argument
|
| /third_party/mindspore/mindspore-src/source/include/api/ |
| D | model.h | 425 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()
|
| D | model_parallel_runner.h | 164 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/ |
| D | model_manager.cc | 24 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/ |
| D | model_manager.cc | 24 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/ |
| D | coreml_graph.cc | 66 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/ |
| D | mindir_model.h | 59 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/ |
| D | main.py | 36 model_path = args.model_path.replace( variable
|
| /third_party/mindspore/mindspore-src/source/tests/ut/cpp/common/ |
| D | py_func_graph_fetcher.h | 38 : 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/ |
| D | llm_engine_impl.cc | 128 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/ |
| D | model.py | 137 …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/ |
| D | model_parallel_runner_impl.cc | 25 Status ModelParallelRunnerImpl::Init(const std::string &model_path, in Init()
|