/// Copyright (c) 2020 ARM Limited. /// /// SPDX-License-Identifier: MIT /// /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to deal /// in the Software without restriction, including without limitation the rights /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell /// copies of the Software, and to permit persons to whom the Software is /// furnished to do so, subject to the following conditions: /// /// The above copyright notice and this permission notice shall be included in all /// copies or substantial portions of the Software. /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE /// SOFTWARE. /// namespace armnn { /** @page serializer Serializer @tableofcontents The `armnnSerializer` is a library for serializing an Arm NN network to a stream. @section serializersupport Supported Layers This reference guide provides a list of layers which can be serialized by the Arm NN SDK. @subsection serializersupportflully Fully supported The Arm NN SDK Serializer currently supports the following layers: - Activation - Addition - ArgMinMax - BatchToSpaceNd - BatchNormalization - Comparison - Concat - Constant - Convolution2d - DepthToSpace - DepthwiseConvolution2d - Dequantize - DetectionPostProcess - Division - ElementwiseUnary - Fill - Floor - FullyConnected - Gather - Input - InstanceNormalization - L2Normalization - Logical - LogSoftmax - Lstm - Maximum - Mean - Merge - Minimum - Multiplication - Normalization - Output - Pad - Permute - Pooling2d - Prelu - QLstm - Quantize - QuantizedLstm - Rank - Reshape - Resize - Slice - Softmax - SpaceToBatchNd - SpaceToDepth - Splitter - Stack - StandIn - StridedSlice - Subtraction - Switch - Transpose - TransposeConvolution2d More machine learning layers will be supported in future releases. @subsection serializersupportdeprecated Deprecated layers Some layers have been deprecated and replaced by others layers. In order to maintain backward compatibility, serializations of these deprecated layers will deserialize to the layers that have replaced them, as follows: - Abs will deserialize as ElementwiseUnary - Equal will deserialize as Comparison - Greater will deserialize as Comparison - Merger will deserialize as Concat - ResizeBilinear will deserialize as Resize - Rsqrt will deserialize as ElementwiseUnary



@page deserializer Deserializer @tableofcontents The `armnnDeserializer` is a library for loading neural networks defined by Arm NN FlatBuffers files into the Arm NN runtime. @section deserializersupport Supported Layers This reference guide provides a list of layers which can be deserialized by the Arm NN SDK. @subsection deserializersupportfully Fully supported The Arm NN SDK Deserialize parser currently supports the following layers: - Abs - Activation - Addition - ArgMinMax - BatchToSpaceNd - BatchNormalization - Concat - Comparison - Constant - Convolution2d - DepthToSpace - DepthwiseConvolution2d - Dequantize - DetectionPostProcess - Division - ElementwiseUnary - Fill - Floor - FullyConnected - Gather - Input - InstanceNormalization - L2Normalization - Logical - LogSoftmax - Lstm - Maximum - Mean - Merge - Minimum - Multiplication - Normalization - Output - Pad - Permute - Pooling2d - Prelu - Quantize - QLstm - QuantizedLstm - Rank - Reshape - Resize - ResizeBilinear - Rsqrt - Slice - Softmax - SpaceToBatchNd - SpaceToDepth - Splitter - Stack - StandIn - StridedSlice - Subtraction - Switch - TransposeConvolution2d More machine learning layers will be supported in future releases. @subsection deserializersupportdeprecated Deprecated layers Some layers have been deprecated and replaced by others layers. In order to maintain backward compatibility, serializations of these deprecated layers will deserialize to the layers that have replaced them, as follows: - Equal will deserialize as Comparison - Merger will deserialize as Concat - Greater will deserialize as Comparison - ResizeBilinear will deserialize as Resize **/ }