Unverified Commit 1f0c8d31 authored by Nick Korovaiko's avatar Nick Korovaiko Committed by GitHub

Update memory_layout.cpp

parent b5446d87
...@@ -71,6 +71,8 @@ bool pass::MemoryLayout::run_on_function(shared_ptr<ngraph::Function> function) ...@@ -71,6 +71,8 @@ bool pass::MemoryLayout::run_on_function(shared_ptr<ngraph::Function> function)
(m_disable_memory_sharing && !oi_pair.destructive)) && (m_disable_memory_sharing && !oi_pair.destructive)) &&
node->liveness_new_list.count(output) != 0) node->liveness_new_list.count(output) != 0)
{ {
NGRAPH_DEBUG << "Reusing " << input->get_name() << " for "
<< output->get_name();
in_place_outputs.insert({output, input}); in_place_outputs.insert({output, input});
reused_inputs.insert(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