Skip to content

Commit

Permalink
Revert breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
Atanas Dimitrov committed Jan 3, 2024
1 parent 22603fc commit fec9829
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onnxruntime/core/graph/graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1310,8 +1310,7 @@ Graph::Graph(const Model& owning_model,
}

for (const auto& node_proto : graph_proto_->node()) {
auto& new_node = AddNode(node_proto, name_to_type_map);
SetOpSchemaFromRegistryForNode(new_node);
AddNode(node_proto, name_to_type_map);
}

if (is_loaded_from_model_file_) {
Expand Down

0 comments on commit fec9829

Please sign in to comment.