diff options
Diffstat (limited to 'src/armnnOnnxParser/test/OnnxParserTestUtils.hpp')
-rw-r--r-- | src/armnnOnnxParser/test/OnnxParserTestUtils.hpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/armnnOnnxParser/test/OnnxParserTestUtils.hpp b/src/armnnOnnxParser/test/OnnxParserTestUtils.hpp index 4ed6543d28..212cf5965a 100644 --- a/src/armnnOnnxParser/test/OnnxParserTestUtils.hpp +++ b/src/armnnOnnxParser/test/OnnxParserTestUtils.hpp @@ -5,17 +5,14 @@ #pragma once +#include <iostream> +#include <vector> + namespace armnnUtils { -std::string ConstructTensorShapeString(const std::vector<int>& shape) -{ - std::string shapeStr; - for (int i : shape) - { - shapeStr = fmt::format("{} dim {{ dim_value: {} }}", shapeStr, i); - } - return shapeStr; -} +std::string ConstructTensorShapeString(const std::vector<int>& shape); + +std::string ConstructIntsAttribute(const std::string& name, const std::vector<int>& value); } // namespace armnnUtils
\ No newline at end of file |