Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jun 12, 2024
1 parent 7ecb8e7 commit fb70965
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions onnxruntime/core/graph/model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,10 @@ static Status SaveModel(Model& model, const T& file_path) {
Status Model::Save(Model& model, const std::wstring& file_path) {
return SaveModel(model, file_path);
}
#else
Status Model::Save(Model& model, const std::string& file_path) {
return SaveModel(model, file_path);
}
#endif

template <typename T>
Expand Down

0 comments on commit fb70965

Please sign in to comment.