mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Temp fix for a crash in fused graph (#1488)
This commit is contained in:
parent
a7223ed801
commit
6625eecd09
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ FunctionImpl::FunctionImpl(const onnxruntime::Graph& graph,
|
|||
auto input_arg = parent_graph_->GetNodeArg(input);
|
||||
auto& sub_graph_input_arg = sub_graph.GetOrCreateNodeArg(input_arg->Name(), input_arg->TypeAsProto());
|
||||
sub_graph_inputs[i] = &sub_graph_input_arg;
|
||||
ORT_ENFORCE(input_arg->Type() != nullptr);
|
||||
op_schema_->Input(i, input, "", *input_arg->Type());
|
||||
++i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue