Commit 90ec2510 authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

allow multiple setting of a node's friendly name (#2609)

parent a1da1ab0
......@@ -135,14 +135,7 @@ const std::string& Node::get_name() const
void Node::set_friendly_name(const string& name)
{
if (m_friendly_name.empty())
{
m_friendly_name = name;
}
else
{
throw ngraph_error("Node name may be set exactly once");
}
m_friendly_name = name;
}
Placement Node::get_placement() const
......
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