mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
[VITISAI] fix compile error for onnxruntime (#17252)
### Description <!-- Describe your changes. --> Updated the code to pass in the missing parameter ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Compile error. See https://github.com/microsoft/onnxruntime/issues/17139 Co-authored-by: Yueqing Zhang <yueqingz@amd.com>
This commit is contained in:
parent
56102ecbdd
commit
d21a2f064b
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ void graph_save(const Graph& graph, const std::string& filename, const std::stri
|
|||
model_proto = model.ToProto();
|
||||
} else {
|
||||
model_proto = model.ToGraphProtoWithExternalInitializers(filename_dat,
|
||||
ToPathString(filename),
|
||||
initializer_size_threshold);
|
||||
}
|
||||
auto& metadata = model.MetaData();
|
||||
|
|
|
|||
Loading…
Reference in a new issue