ArmNN
 24.02
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
armnnUtils::ConvertTensorShapeToString
std::string ConvertTensorShapeToString(const armnn::TensorShape &shape)
Converts an TensorShape into Prototxt representation.
Definition: PrototxtConversions.cpp:32
armnn::TensorShape
Definition: Tensor.hpp:20
armnnUtils::ConvertInt32ToOctalString
std::string ConvertInt32ToOctalString(int value)
Converts an int value into the Prototxt octal representation.
Definition: PrototxtConversions.cpp:17
armnnUtils
Definition: CompatibleTypes.hpp:10
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6