Skip to content

Commit

Permalink
[VITISAI] fix compile error for onnxruntime (#17252)
Browse files Browse the repository at this point in the history
### 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 #17139

Co-authored-by: Yueqing Zhang <[email protected]>
  • Loading branch information
BoarQing and Yueqing Zhang authored Aug 23, 2023
1 parent 56102ec commit d21a2f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions onnxruntime/core/providers/vitisai/imp/graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d21a2f0

Please sign in to comment.