| 475 | } |
| 476 | |
| 477 | void SerializerStrategy::SerializeDepthwiseConvolution2dLayer(const armnn::IConnectableLayer* layer, |
| 478 | const armnn::DepthwiseConvolution2dDescriptor& descriptor, |
| 479 | const char* name) |
| 480 | { |
| 481 | IgnoreUnused(name); |
| 482 | |
| 483 | auto fbBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_DepthwiseConvolution2d); |
| 484 | auto fbDescriptor = CreateDepthwiseConvolution2dDescriptor(m_flatBufferBuilder, |
| 485 | descriptor.m_PadLeft, |
| 486 | descriptor.m_PadRight, |
| 487 | descriptor.m_PadTop, |
| 488 | descriptor.m_PadBottom, |
| 489 | descriptor.m_StrideX, |
| 490 | descriptor.m_StrideY, |
| 491 | descriptor.m_DilationX, |
| 492 | descriptor.m_DilationY, |
| 493 | descriptor.m_BiasEnabled, |
| 494 | GetFlatBufferDataLayout(descriptor.m_DataLayout)); |
| 495 | |
| 496 | auto flatBufferLayer = CreateDepthwiseConvolution2dLayer(m_flatBufferBuilder, |
| 497 | fbBaseLayer, |
| 498 | fbDescriptor); |
| 499 | |
| 500 | CreateAnyLayer(flatBufferLayer.o, serializer::Layer::Layer_DepthwiseConvolution2dLayer); |
| 501 | } |
| 502 | |
| 503 | void SerializerStrategy::SerializeDequantizeLayer(const armnn::IConnectableLayer* layer, |
| 504 | const char* name) |
nothing calls this directly
no test coverage detected