[CPU] Fix case with unused port in Loop body
Signed-off-by: Alexander Peskov <alexander.peskov@intel.com>
This commit is contained in:
parent
5ac26ff3b6
commit
045d26ff31
@ -132,6 +132,10 @@ void MKLDNNGraph::Replicate(const TensorIterator::Body &subgraph, const MKLDNNEx
|
||||
|
||||
graphNodes.push_back(node);
|
||||
inputNodes[input->getName()] = node;
|
||||
|
||||
if (getInputTo(input).empty()) {
|
||||
unused_data.insert(input);
|
||||
}
|
||||
}
|
||||
|
||||
// Step 2. Replicate all internal nodes.
|
||||
|
Loading…
Reference in New Issue
Block a user