blob: aebc721be3d6ce03552848570b1522f69daa488e (
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
25
26
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "InternalTypes.hpp"
#include <armnn/utility/Assert.hpp>
namespace armnn
{
char const* GetLayerTypeAsCString(LayerType type)
{
switch (type)
{
#define X(name) case LayerType::name: return #name;
LIST_OF_LAYER_TYPE
#undef X
default:
ARMNN_ASSERT_MSG(false, "Unknown layer type");
return "Unknown";
}
}
}
|