diff options
Diffstat (limited to 'src/armnnTfLiteParser/TfLiteParser.cpp')
-rw-r--r-- | src/armnnTfLiteParser/TfLiteParser.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/armnnTfLiteParser/TfLiteParser.cpp b/src/armnnTfLiteParser/TfLiteParser.cpp index 7b496173cc..8bc475347c 100644 --- a/src/armnnTfLiteParser/TfLiteParser.cpp +++ b/src/armnnTfLiteParser/TfLiteParser.cpp @@ -777,26 +777,6 @@ INetworkPtr TfLiteParser::CreateNetworkFromModel() } } - // if InferAndValidate set make sure all the TensorInfo set and all the dynamic output tensors are inferred - if (m_Options && m_Options.value().m_InferAndValidate) - { - for (subgraphIndex = 0; - subgraphIndex < m_SubgraphConnections.size(); - ++subgraphIndex) - { - if (m_SubgraphConnections[subgraphIndex].size() > 0) - { - // get the last output slot on the layer - auto outputSlot = - m_SubgraphConnections[subgraphIndex][m_SubgraphConnections[subgraphIndex].size() - 1].outputSlot; - if (outputSlot != nullptr) - { - outputSlot->IsTensorInfoSet(); - } - } - } - } - return std::move(m_Network); } |