blob: aebc721be3d6ce03552848570b1522f69daa488e [file] [log] [blame]
//
// 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";
}
}
}