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

Function GetFlatBufferPaddingMethod

src/armnnSerializer/SerializerUtils.cpp:190–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190armnnSerializer::PaddingMethod GetFlatBufferPaddingMethod(armnn::PaddingMethod paddingMethod)
191{
192 switch (paddingMethod)
193 {
194 case armnn::PaddingMethod::IgnoreValue:
195 return armnnSerializer::PaddingMethod::PaddingMethod_IgnoreValue;
196 case armnn::PaddingMethod::Exclude:
197 default:
198 return armnnSerializer::PaddingMethod::PaddingMethod_Exclude;
199 }
200}
201
202armnnSerializer::PaddingMode GetFlatBufferPaddingMode(armnn::PaddingMode paddingMode)
203{

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected