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

Function DefaultLayerSupport

src/backends/backendsCommon/LayerSupportBase.cpp:18–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17
18bool DefaultLayerSupport(const char* func,
19 const char* file,
20 unsigned int line,
21 armnn::Optional<std::string&> reasonIfUnsupported)
22{
23 // NOTE: We only need to return the reason if the optional parameter is not empty
24 if (reasonIfUnsupported)
25 {
26 std::stringstream message;
27 message << func << " is not implemented [" << file << ":" << line << "]";
28
29 reasonIfUnsupported.value() = message.str();
30 }
31
32 return false;
33}
34
35} // anonymous namespace
36

Callers 5

IsLayerSupportedMethod · 0.85
IsMergeSupportedMethod · 0.85
IsShapeSupportedMethod · 0.85

Calls 2

valueMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected