Commit 64a105db authored by Jayaram Bobba's avatar Jayaram Bobba Committed by Scott Cyphers

Cleanup the output descriptor of node arguments (#639)

parent d3ea93e2
...@@ -71,6 +71,10 @@ namespace ngraph ...@@ -71,6 +71,10 @@ namespace ngraph
{ {
arg->m_users.erase(this); arg->m_users.erase(this);
} }
for (auto& input : m_inputs)
{
input.get_output().remove_input(&input);
}
} }
virtual void generate_adjoints(autodiff::Adjoints& adjoints, virtual void generate_adjoints(autodiff::Adjoints& adjoints,
const std::shared_ptr<Node>& delta) const std::shared_ptr<Node>& delta)
......
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