Unverified Commit d380f40e authored by Adam Procter's avatar Adam Procter Committed by GitHub

Merge pull request #2315 from NervanaSystems/krovatkin/ml_reuse_debug

Add a trace when we reuse inputs in Memory Layout
parents ec86e1a8 21e73812
......@@ -71,6 +71,8 @@ bool pass::MemoryLayout::run_on_function(shared_ptr<ngraph::Function> function)
(m_disable_memory_sharing && !oi_pair.destructive)) &&
node->liveness_new_list.count(output) != 0)
{
NGRAPH_DEBUG << "Reusing " << input->get_name() << " for "
<< output->get_name();
in_place_outputs.insert({output, input});
reused_inputs.insert(input);
}
......
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