Unverified Commit 61ce7176 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Simplify validate call (#4313)

Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
parent 3042c8cc
......@@ -78,7 +78,10 @@ Function::Function(const std::shared_ptr<Node>& result,
void Function::validate_nodes_and_infer_types()
{
ngraph::validate_nodes_and_infer_types(get_ops());
for (auto& node : get_ordered_ops())
{
node->revalidate_and_infer_types();
}
}
void Function::init()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment