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

Function IsLayerOptimizable

src/armnnTestUtils/MockBackend.cpp:88–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88bool IsLayerOptimizable(const armnn::Layer* layer)
89{
90 ARMNN_ASSERT(layer != nullptr);
91
92 // A Layer is not optimizable if its name contains "unoptimizable"
93 const std::string layerName(layer->GetName());
94 bool optimizable = layerName.find("unoptimizable") == std::string::npos;
95
96 return optimizable;
97}
98
99bool IsLayerOptimizable(const armnn::Layer& layer)
100{

Callers 1

OptimizeSubgraphViewMethod · 0.85

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected