aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2022-10-26 13:14:49 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2022-10-27 15:32:59 +0000
commit893e603ebee737eec32df4ed42c43a2f57c5fd0f (patch)
tree16302f4a0b40eaff35046f31a60a5e5430c1405e
parentda824cc0211beb69b6e94a8b1e5c76e8c4eda3a1 (diff)
downloadarmnn-893e603ebee737eec32df4ed42c43a2f57c5fd0f.tar.gz
Revert "IVGCVSW-7282 Issues in ExNet when iterations and number of inputs do not match"
This reverts commit 6c95836e894f88c4bab6b22f974341f0dd2dddaa. Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I8be2147feb557a0849de5785fb63b464abc7dbb9
-rw-r--r--tests/ExecuteNetwork/ArmNNExecutor.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/ExecuteNetwork/ArmNNExecutor.cpp b/tests/ExecuteNetwork/ArmNNExecutor.cpp
index fe8443791b..330a239763 100644
--- a/tests/ExecuteNetwork/ArmNNExecutor.cpp
+++ b/tests/ExecuteNetwork/ArmNNExecutor.cpp
@@ -304,17 +304,6 @@ void ArmNNExecutor::SetupInputsAndOutputs()
" not compatible with number of inputs: " + std::to_string(noOfInputs));
}
noInputSets = inputFilePaths / noOfInputs;
- // use the same inputSet per iteration or
- // there should be a 1:1 mapping between inputSets and iterations
- if (noInputSets != 1 ||
- noInputSets != m_Params.m_Iterations)
- {
- LogAndThrow("The input model accepts " + std::to_string(noOfInputs) + " inputs. "
- + std::to_string(inputFilePaths) + " input-tensor-data file paths have been provided. "
- "ExecuteNetwork expects to perform " + std::to_string(noInputSets) + " inference(s) but "
- "the iterations number provided is " + std::to_string(m_Params.m_Iterations) + "."
- "Please amend the iterations or input-tensor-data parameter.");
- }
if (noInputSets != 1 && m_Params.m_ReuseBuffers)
{
LogAndThrow("Specifying multiple sets of inputs not compatible with ReuseBuffers");