mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
directly updating dst arg with src arg when adding an edge. no need updating the type and shape info. (#195)
This commit is contained in:
parent
5fd9024139
commit
5a8acd7da8
1 changed files with 0 additions and 1 deletions
|
|
@ -830,7 +830,6 @@ void Graph::AddEdge(NodeIndex src_node_index, NodeIndex dst_node_index, int src_
|
|||
// The output type of source node arg does not match the input type of destination node arg.
|
||||
ORT_THROW("Argument type mismatch when adding edge.");
|
||||
} else {
|
||||
src_arg->UpdateTypeAndShape(*dst_arg);
|
||||
*dst_arg_pointer = src_arg;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue