ArmNN
 22.05.01
PrototxtConversions.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include <string>
9 
10 namespace armnn
11 {
12 class TensorShape;
13 } // namespace armnn
14 
15 namespace armnnUtils
16 {
17 
18 /// Converts an int value into the Prototxt octal representation
19 std::string ConvertInt32ToOctalString(int value);
20 
21 /// Converts an TensorShape into Prototxt representation
22 std::string ConvertTensorShapeToString(const armnn::TensorShape& shape);
23 
24 } // namespace armnnUtils
Copyright (c) 2021 ARM Limited and Contributors.
std::string ConvertInt32ToOctalString(int value)
Converts an int value into the Prototxt octal representation.
std::string ConvertTensorShapeToString(const armnn::TensorShape &shape)
Converts an TensorShape into Prototxt representation.