mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-04 04:07:22 +00:00
Fix Onnxruntime-TVM CI (#20498)
### Description ``` tvm_execution_provider.cc denormal.cc D:\a\onnxruntime\onnxruntime\onnxruntime\core\providers\tvm\tvm_execution_provider.cc(122,5): error C2660: 'onnxruntime::GraphViewerToProto': function does not take 4 arguments [D:\a\onnxruntime\onnxruntime\build\Release\onnxruntime_providers_tvm.vcxproj] D:\a\onnxruntime\onnxruntime\onnxruntime\core\graph\graph_proto_serializer.h(10,6): see declaration of 'onnxruntime::GraphViewerToProto' D:\a\onnxruntime\onnxruntime\onnxruntime\core\providers\tvm\tvm_execution_provider.cc(122,5): while trying to match the argument list '(const onnxruntime::GraphViewer, onnx::GraphProto, bool, bool)' cpuid_uarch.cc get_execution_providers.cc abi_session_options.cc bias_dropout_fusion.cc if.cc ``` ### 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. -->
This commit is contained in:
parent
736cbb3925
commit
b789677e65
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ void GraphViewerToProto(const GraphViewer& graph_view,
|
|||
ONNX_NAMESPACE::GraphProto& graph_proto,
|
||||
bool include_initializer,
|
||||
bool include_outer_scope_args,
|
||||
ExecutionOrder order = ExecutionOrder::DEFAULT) {
|
||||
ExecutionOrder order) {
|
||||
graph_proto.set_name(graph_view.Name());
|
||||
graph_proto.set_doc_string(graph_view.Description());
|
||||
|
||||
|
|
|
|||
|
|
@ -11,5 +11,5 @@ void GraphViewerToProto(const GraphViewer& graph_view,
|
|||
ONNX_NAMESPACE::GraphProto& graph_proto,
|
||||
bool include_initializer,
|
||||
bool include_outer_scope_args,
|
||||
ExecutionOrder order);
|
||||
ExecutionOrder order = ExecutionOrder::DEFAULT);
|
||||
} // namespace onnxruntime
|
||||
|
|
|
|||
Loading…
Reference in a new issue