aboutsummaryrefslogtreecommitdiff
path: root/src/armnnUtils/PrototxtConversions.hpp
blob: fb066729fef70d885999209522b871cb92c640f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <string>

namespace armnn
{
class TensorShape;
} // namespace armnn

namespace armnnUtils
{

/// Converts an int value into the Prototxt octal representation
std::string ConvertInt32ToOctalString(int value);

/// Converts an TensorShape into Prototxt representation
std::string ConvertTensorShapeToString(const armnn::TensorShape& shape);

} // namespace armnnUtils