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

Function GetFlatBufferResizeMethod

src/armnnSerializer/SerializerUtils.cpp:243–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243armnnSerializer::ResizeMethod GetFlatBufferResizeMethod(armnn::ResizeMethod method)
244{
245 switch (method)
246 {
247 case armnn::ResizeMethod::NearestNeighbor:
248 return armnnSerializer::ResizeMethod_NearestNeighbor;
249 case armnn::ResizeMethod::Bilinear:
250 return armnnSerializer::ResizeMethod_Bilinear;
251 default:
252 return armnnSerializer::ResizeMethod_NearestNeighbor;
253 }
254}
255
256armnnSerializer::ReduceOperation GetFlatBufferReduceOperation(armnn::ReduceOperation reduceOperation)
257{

Callers 1

SerializeResizeLayerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected