MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetLayerTypeAsCString

Function GetLayerTypeAsCString

src/armnn/InternalTypes.cpp:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13char const* GetLayerTypeAsCString(LayerType type)
14{
15 switch (type)
16 {
17#define X(name) case LayerType::name: return #name;
18 LIST_OF_LAYER_TYPE
19#undef X
20 default:
21 throw armnn::InvalidArgumentException("Unknown layer type");
22 return "Unknown";
23 }
24}
25
26}

Callers 15

GetLayerNameFunction · 0.85
GetNameFunction · 0.85
ConnectFunction · 0.85
ExecuteStrategyMethod · 0.85
InferOutputShapesMethod · 0.85
ReturnWithErrorFunction · 0.85
AttemptBackendAssignmentFunction · 0.85
PrintMethod · 0.85
SerializeToDotMethod · 0.85

Calls 1

Tested by 13

ConnectFunction · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68
ExecuteStrategyMethod · 0.68