|
@@ -931,20 +931,20 @@ Status GeExecutor::GetMemAndWeightSize(const void *model_data, size_t model_size |
|
|
|
|
|
|
|
|
Status GeExecutor::LoadSingleOp(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
Status GeExecutor::LoadSingleOp(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
SingleOp **single_op) { |
|
|
SingleOp **single_op) { |
|
|
return LoadSingleOp(model_name, modelData, stream, single_op, 0); |
|
|
|
|
|
|
|
|
return LoadSingleOpV2(model_name, modelData, stream, single_op, 0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Status GeExecutor::LoadSingleOp(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
|
|
|
|
|
|
Status GeExecutor::LoadSingleOpV2(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
SingleOp **single_op, const uint64_t model_id) { |
|
|
SingleOp **single_op, const uint64_t model_id) { |
|
|
return SingleOpManager::GetInstance().GetOpFromModel(model_name, modelData, stream, single_op, model_id); |
|
|
return SingleOpManager::GetInstance().GetOpFromModel(model_name, modelData, stream, single_op, model_id); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Status GeExecutor::LoadDynamicSingleOp(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
Status GeExecutor::LoadDynamicSingleOp(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
DynamicSingleOp **single_op) { |
|
|
DynamicSingleOp **single_op) { |
|
|
return LoadDynamicSingleOp(model_name, modelData, stream, single_op, 0); |
|
|
|
|
|
|
|
|
return LoadDynamicSingleOpV2(model_name, modelData, stream, single_op, 0); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Status GeExecutor::LoadDynamicSingleOp(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
|
|
|
|
|
|
Status GeExecutor::LoadDynamicSingleOpV2(const std::string &model_name, const ge::ModelData &modelData, void *stream, |
|
|
DynamicSingleOp **single_op, const uint64_t model_id) { |
|
|
DynamicSingleOp **single_op, const uint64_t model_id) { |
|
|
return SingleOpManager::GetInstance().GetDynamicOpFromModel(model_name, modelData, stream, single_op, model_id); |
|
|
return SingleOpManager::GetInstance().GetDynamicOpFromModel(model_name, modelData, stream, single_op, model_id); |
|
|
} |
|
|
} |
|
|