mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
fix buid break (#11492)
Co-authored-by: Cheng Tang <chenta@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
This commit is contained in:
parent
436c4f9b79
commit
abecb56832
1 changed files with 3 additions and 3 deletions
|
|
@ -1007,14 +1007,14 @@ Status MIGraphXExecutionProvider::Compile(const std::vector<FusedNodeAndGraph>&
|
|||
model_proto->SerializeToString(onnx_string_buffer);
|
||||
|
||||
if (dump_model_ops_) {
|
||||
std::string onnx_name = fused_node->Name() + ".onnx";
|
||||
std::string onnx_name = fused_node.Name() + ".onnx";
|
||||
std::ofstream ofs(onnx_name);
|
||||
ofs.write(onnx_string_buffer.data(), onnx_string_buffer.size());
|
||||
ofs.close();
|
||||
}
|
||||
|
||||
std::vector<std::string> input_names, output_names;
|
||||
no_input_shape = no_input_shape or get_input_output_names(*graph_body_viewer, input_names, output_names);
|
||||
no_input_shape = no_input_shape or get_input_output_names(graph_body_viewer, input_names, output_names);
|
||||
|
||||
// by parsing the model_proto, create a program corresponding to
|
||||
// the input fused_node
|
||||
|
|
@ -1208,4 +1208,4 @@ Status MIGraphXExecutionProvider::Compile(const std::vector<FusedNodeAndGraph>&
|
|||
return Status::OK();
|
||||
}
|
||||
|
||||
} // namespace onnxruntime
|
||||
} // namespace onnxruntime
|
||||
|
|
|
|||
Loading…
Reference in a new issue