diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index ff28eb4f3b..977a114bfd 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -637,7 +637,8 @@ int RunTest(const std::string& format, try { // Coverity fix: An exception of type armnn::InvalidArgumentException is thrown and never caught. - inputTensorShapes.push_back(std::make_unique<armnn::TensorShape>(dims.size(), dims.data())); + inputTensorShapes.push_back( + std::make_unique<armnn::TensorShape>(static_cast<unsigned int>(dims.size()), dims.data())); } catch (const armnn::InvalidArgumentException& e) { |