mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
A tiny change to onnxruntime::Model (#158)
* Remove unnecessary const * update
This commit is contained in:
parent
9baaf5e956
commit
1ed72251d0
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ namespace onnxruntime {
|
|||
Model::Model(const std::string& graph_name,
|
||||
bool is_onnx_domain_only,
|
||||
const ModelMetaData& model_metadata,
|
||||
const IOnnxRuntimeOpSchemaRegistryList local_registries,
|
||||
const IOnnxRuntimeOpSchemaRegistryList& local_registries,
|
||||
const std::unordered_map<std::string, int>& domain_to_version,
|
||||
const std::vector<ONNX_NAMESPACE::FunctionProto>& model_functions) {
|
||||
model_proto_ = std::make_unique<ModelProto>();
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class Model {
|
|||
explicit Model(const std::string& graph_name,
|
||||
bool is_onnx_domain_only = false,
|
||||
const ModelMetaData& model_metadata = ModelMetaData(),
|
||||
const IOnnxRuntimeOpSchemaRegistryList local_registries = {},
|
||||
const IOnnxRuntimeOpSchemaRegistryList& local_registries = IOnnxRuntimeOpSchemaRegistryList(),
|
||||
const std::unordered_map<std::string, int>& domain_to_version = {},
|
||||
const std::vector<ONNX_NAMESPACE::FunctionProto>& model_specific_functions = {});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue