diff options
author | Rob Hughes <robert.hughes@arm.com> | 2019-09-23 16:24:05 +0100 |
---|---|---|
committer | Rob Hughes <robert.hughes@arm.com> | 2019-09-23 16:51:15 +0100 |
commit | 93667b1d7c361df68bdb1d733f17aba3ba34e046 (patch) | |
tree | 22375370a8fd2e94a0b9385f1429f15cebb71623 /tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | |
parent | ce2d9d13fbc0c8efd83dfb411c045553f87331f9 (diff) | |
download | armnn-93667b1d7c361df68bdb1d733f17aba3ba34e046.tar.gz |
Replace uses of non-standard C++:
* Variable-length array replaced with std::vector
* "and" replaced with "&&" (OK, this one is standard but MSVC doesn't
like it and it's inconsistent with the rest of the codebase)
* Replace u_int8_t with uint8_t
Change-Id: I7b968a2cfa85a5492a2a547364464c594efb067b
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
Diffstat (limited to 'tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp')
-rw-r--r-- | tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index 635eaf3af5..eefe628201 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -161,7 +161,7 @@ auto ParseDataArray<armnn::DataType::QuantisedAsymm8>(std::istream& stream, [&quantizationScale, &quantizationOffset](const std::string & s) { return boost::numeric_cast<uint8_t>( - armnn::Quantize<u_int8_t>(std::stof(s), + armnn::Quantize<uint8_t>(std::stof(s), quantizationScale, quantizationOffset)); }); |