| 655 | } |
| 656 | |
| 657 | void SerializerStrategy::SerializeL2NormalizationLayer(const armnn::IConnectableLayer* layer, |
| 658 | const armnn::L2NormalizationDescriptor& l2NormalizationDescriptor, |
| 659 | const char* name) |
| 660 | { |
| 661 | IgnoreUnused(name); |
| 662 | |
| 663 | // Create FlatBuffer BaseLayer |
| 664 | auto fbBaseLayer = CreateLayerBase(layer, serializer::LayerType::LayerType_L2Normalization); |
| 665 | |
| 666 | // Create the FlatBuffer L2Normalization Descriptor |
| 667 | auto fbDescriptor = serializer::CreateL2NormalizationDescriptor( |
| 668 | m_flatBufferBuilder, |
| 669 | GetFlatBufferDataLayout(l2NormalizationDescriptor.m_DataLayout), |
| 670 | l2NormalizationDescriptor.m_Eps); |
| 671 | |
| 672 | // Create FlatBuffer layer |
| 673 | auto fbLayer = serializer::CreateL2NormalizationLayer(m_flatBufferBuilder, fbBaseLayer, fbDescriptor); |
| 674 | |
| 675 | CreateAnyLayer(fbLayer.o, serializer::Layer::Layer_L2NormalizationLayer); |
| 676 | } |
| 677 | |
| 678 | void SerializerStrategy::SerializeLogicalBinaryLayer(const armnn::IConnectableLayer* layer, |
| 679 | const armnn::LogicalBinaryDescriptor& descriptor, |
nothing calls this directly
no test coverage detected