Commit 30a400b4 authored by Diego Caballero's avatar Diego Caballero Committed by Robert Kimball

[NFC] Remove dead code (worst_case_tmp_size) (#2581)

parent 08285051
......@@ -676,16 +676,11 @@ using namespace ngraph::runtime;
}
bool temporaries_used = false;
size_t worst_case_tmp_size = 0;
for (shared_ptr<Node> node : ordered_ops)
{
if (node->liveness_new_list.size() > 0)
{
temporaries_used = true;
for (descriptor::Tensor* tensor : node->liveness_new_list)
{
worst_case_tmp_size += tensor->size();
}
}
}
if (temporaries_used)
......
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