ArmNN
 25.11
Loading...
Searching...
No Matches
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
10namespace armnn
11{
12class TensorShape;
13} // namespace armnn
14
15namespace armnnUtils
16{
17
18/// Converts an int value into the Prototxt octal representation
19std::string ConvertInt32ToOctalString(int value);
20
21/// Converts an TensorShape into Prototxt representation
22std::string ConvertTensorShapeToString(const armnn::TensorShape& shape);
23
24} // namespace armnnUtils
Copyright (c) 2021 ARM Limited and Contributors.
std::string ConvertTensorShapeToString(const armnn::TensorShape &shape)
Converts an TensorShape into Prototxt representation.
std::string ConvertInt32ToOctalString(int value)
Converts an int value into the Prototxt octal representation.