ArmNN
 23.08
SerializerStrategy Class Reference

#include <Serializer.hpp>

Inheritance diagram for SerializerStrategy:
[legend]
Collaboration diagram for SerializerStrategy:
[legend]

Public Member Functions

void ExecuteStrategy (const armnn::IConnectableLayer *layer, const armnn::BaseDescriptor &descriptor, const std::vector< armnn::ConstTensor > &constants, const char *name, const armnn::LayerBindingId id) override
 
 SerializerStrategy ()
 
 ~SerializerStrategy ()
 
flatbuffers::FlatBufferBuilder & GetFlatBufferBuilder ()
 
std::vector< int > & GetInputIds ()
 
std::vector< int > & GetOutputIds ()
 
std::vector< flatbuffers::Offset< armnnSerializer::AnyLayer > > & GetSerializedLayers ()
 
flatbuffers::Offset< armnnSerializer::FeatureCompatibilityVersions > GetVersionTable ()
 
- Public Member Functions inherited from IStrategy
virtual void ExecuteStrategy (const IConnectableLayer *layer, const armnn::BaseDescriptor &descriptor, const std::vector< armnn::ConstTensor > &constants, const char *name, const armnn::LayerBindingId id=0)=0
 
virtual void FinishStrategy ()
 

Additional Inherited Members

- Protected Member Functions inherited from IStrategy
 IStrategy ()
 
virtual ~IStrategy ()
 

Detailed Description

Definition at line 22 of file Serializer.hpp.

Constructor & Destructor Documentation

◆ SerializerStrategy()

SerializerStrategy ( )
inline

Definition at line 31 of file Serializer.hpp.

31 : m_layerId(0) {}

◆ ~SerializerStrategy()

~SerializerStrategy ( )
inline

Definition at line 32 of file Serializer.hpp.

32 {}

Member Function Documentation

◆ ExecuteStrategy()

void ExecuteStrategy ( const armnn::IConnectableLayer layer,
const armnn::BaseDescriptor descriptor,
const std::vector< armnn::ConstTensor > &  constants,
const char *  name,
const armnn::LayerBindingId  id 
)
override

Definition at line 2025 of file Serializer.cpp.

2030 {
2031  IgnoreUnused(constants);
2032 
2033  switch (layer->GetType())
2034  {
2036  {
2037  const armnn::ActivationDescriptor& layerDescriptor =
2038  static_cast<const armnn::ActivationDescriptor&>(descriptor);
2039  SerializeActivationLayer(layer, layerDescriptor, name);
2040  break;
2041  }
2043  {
2044  SerializeAdditionLayer(layer, name);
2045  break;
2046  }
2048  {
2049  const armnn::ArgMinMaxDescriptor& layerDescriptor =
2050  static_cast<const armnn::ArgMinMaxDescriptor&>(descriptor);
2051  SerializeArgMinMaxLayer(layer, layerDescriptor, name);
2052  break;
2053  }
2055  {
2056  const armnn::BatchMatMulDescriptor& layerDescriptor =
2057  static_cast<const armnn::BatchMatMulDescriptor&>(descriptor);
2058  SerializeBatchMatMulLayer(layer,
2059  layerDescriptor,
2060  name);
2061  break;
2062  }
2064  {
2065  const armnn::BatchNormalizationDescriptor& layerDescriptor =
2066  static_cast<const armnn::BatchNormalizationDescriptor&>(descriptor);
2067  SerializeBatchNormalizationLayer(layer,
2068  layerDescriptor,
2069  constants,
2070  name);
2071  break;
2072  }
2074  {
2075  const armnn::BatchToSpaceNdDescriptor& layerDescriptor =
2076  static_cast<const armnn::BatchToSpaceNdDescriptor&>(descriptor);
2077  SerializeBatchToSpaceNdLayer(layer,
2078  layerDescriptor,
2079  name);
2080  break;
2081  }
2082  case armnn::LayerType::Cast :
2083  {
2084  SerializeCastLayer(layer, name);
2085  break;
2086  }
2088  {
2089  const armnn::ChannelShuffleDescriptor& layerDescriptor =
2090  static_cast<const armnn::ChannelShuffleDescriptor&>(descriptor);
2091  SerializeChannelShuffleLayer(layer,
2092  layerDescriptor,
2093  name);
2094  break;
2095  }
2097  {
2098  const armnn::ComparisonDescriptor& layerDescriptor =
2099  static_cast<const armnn::ComparisonDescriptor&>(descriptor);
2100  SerializeComparisonLayer(layer,
2101  layerDescriptor,
2102  name);
2103  break;
2104  }
2106  {
2107  const armnn::ConcatDescriptor& layerDescriptor =
2108  static_cast<const armnn::ConcatDescriptor&>(descriptor);
2109  SerializeConcatLayer(layer,
2110  layerDescriptor,
2111  name);
2112  break;
2113  }
2115  {
2116  SerializeConstantLayer(layer,
2117  constants,
2118  name);
2119  break;
2120  }
2122  {
2123  const armnn::Convolution2dDescriptor& layerDescriptor =
2124  static_cast<const armnn::Convolution2dDescriptor&>(descriptor);
2125  SerializeConvolution2dLayer(layer,
2126  layerDescriptor,
2127  name);
2128  break;
2129  }
2131  {
2132  const armnn::Convolution3dDescriptor& layerDescriptor =
2133  static_cast<const armnn::Convolution3dDescriptor&>(descriptor);
2134  SerializeConvolution3dLayer(layer,
2135  layerDescriptor,
2136  name);
2137  break;
2138  }
2140  {
2141  const armnn::DepthToSpaceDescriptor& layerDescriptor =
2142  static_cast<const armnn::DepthToSpaceDescriptor&>(descriptor);
2143  SerializeDepthToSpaceLayer(layer,
2144  layerDescriptor,
2145  name);
2146  break;
2147  }
2149  {
2150  const armnn::DepthwiseConvolution2dDescriptor& layerDescriptor =
2151  static_cast<const armnn::DepthwiseConvolution2dDescriptor&>(descriptor);
2152  SerializeDepthwiseConvolution2dLayer(layer,
2153  layerDescriptor,
2154  name);
2155  break;
2156  }
2158  {
2159  SerializeDequantizeLayer(layer,
2160  name);
2161  break;
2162  }
2164  {
2165  const armnn::DetectionPostProcessDescriptor& layerDescriptor =
2166  static_cast<const armnn::DetectionPostProcessDescriptor&>(descriptor);
2167  SerializeDetectionPostProcessLayer(layer, layerDescriptor, constants, name);
2168  break;
2169  }
2171  {
2172  SerializeDivisionLayer(layer, name);
2173  break;
2174  }
2176  {
2177  const armnn::ElementwiseBinaryDescriptor& layerDescriptor =
2178  static_cast<const armnn::ElementwiseBinaryDescriptor&>(descriptor);
2179  SerializeElementwiseBinaryLayer(layer, layerDescriptor, name);
2180  break;
2181  }
2183  {
2184  const armnn::ElementwiseUnaryDescriptor& layerDescriptor =
2185  static_cast<const armnn::ElementwiseUnaryDescriptor&>(descriptor);
2186  SerializeElementwiseUnaryLayer(layer, layerDescriptor, name);
2187  break;
2188  }
2189  case armnn::LayerType::Fill :
2190  {
2191  const armnn::FillDescriptor& layerDescriptor =
2192  static_cast<const armnn::FillDescriptor&>(descriptor);
2193  SerializeFillLayer(layer, layerDescriptor, name);
2194  break;
2195  }
2197  {
2198  SerializeFloorLayer(layer, name);
2199  break;
2200  }
2202  {
2203  const armnn::FullyConnectedDescriptor& layerDescriptor =
2204  static_cast<const armnn::FullyConnectedDescriptor&>(descriptor);
2205  SerializeFullyConnectedLayer(layer, layerDescriptor, name);
2206  break;
2207  }
2209  {
2210  const armnn::GatherDescriptor& layerDescriptor =
2211  static_cast<const armnn::GatherDescriptor&>(descriptor);
2212  SerializeGatherLayer(layer, layerDescriptor, name);
2213  break;
2214  }
2216  {
2217  SerializeGatherNdLayer(layer, name);
2218  break;
2219  }
2221  {
2222  SerializeInputLayer(layer, id, name);
2223  break;
2224  }
2226  {
2227  const armnn::InstanceNormalizationDescriptor& layerDescriptor =
2228  static_cast<const armnn::InstanceNormalizationDescriptor&>(descriptor);
2229  SerializeInstanceNormalizationLayer(layer, layerDescriptor, name);
2230  break;
2231  }
2233  {
2234  const armnn::L2NormalizationDescriptor& layerDescriptor =
2235  static_cast<const armnn::L2NormalizationDescriptor&>(descriptor);
2236  SerializeL2NormalizationLayer(layer, layerDescriptor, name);
2237  break;
2238  }
2240  {
2241  const armnn::LogicalBinaryDescriptor& layerDescriptor =
2242  static_cast<const armnn::LogicalBinaryDescriptor&>(descriptor);
2243  SerializeLogicalBinaryLayer(layer, layerDescriptor, name);
2244  break;
2245  }
2247  {
2248  const armnn::LogSoftmaxDescriptor& layerDescriptor =
2249  static_cast<const armnn::LogSoftmaxDescriptor&>(descriptor);
2250  SerializeLogSoftmaxLayer(layer, layerDescriptor, name);
2251  break;
2252  }
2253  case armnn::LayerType::Lstm :
2254  {
2255  const armnn::LstmDescriptor& layerDescriptor =
2256  static_cast<const armnn::LstmDescriptor&>(descriptor);
2257  SerializeLstmLayer(layer, layerDescriptor, constants, name);
2258  break;
2259  }
2261  {
2262  const armnn::QLstmDescriptor& layerDescriptor =
2263  static_cast<const armnn::QLstmDescriptor&>(descriptor);
2264  SerializeQLstmLayer(layer, layerDescriptor, constants, name);
2265  break;
2266  }
2268  {
2269  SerializeMaximumLayer(layer, name);
2270  break;
2271  }
2272  case armnn::LayerType::Mean :
2273  {
2274  const armnn::MeanDescriptor& layerDescriptor =
2275  static_cast<const armnn::MeanDescriptor&>(descriptor);
2276  SerializeMeanLayer(layer, layerDescriptor, name);
2277  break;
2278  }
2280  {
2281  SerializeMergeLayer(layer, name);
2282  break;
2283  }
2285  {
2286  SerializeMinimumLayer(layer, name);
2287  break;
2288  }
2290  {
2291  SerializeMultiplicationLayer(layer, name);
2292  break;
2293  }
2295  {
2296  const armnn::NormalizationDescriptor& layerDescriptor =
2297  static_cast<const armnn::NormalizationDescriptor&>(descriptor);
2298  SerializeNormalizationLayer(layer, layerDescriptor, name);
2299  break;
2300  }
2302  {
2303  SerializeOutputLayer(layer, id, name);
2304  break;
2305  }
2306  case armnn::LayerType::Pad :
2307  {
2308  const armnn::PadDescriptor& layerDescriptor =
2309  static_cast<const armnn::PadDescriptor&>(descriptor);
2310  SerializePadLayer(layer, layerDescriptor, name);
2311  break;
2312  }
2314  {
2315  const armnn::PermuteDescriptor& layerDescriptor =
2316  static_cast<const armnn::PermuteDescriptor&>(descriptor);
2317  SerializePermuteLayer(layer, layerDescriptor, name);
2318  break;
2319  }
2321  {
2322  const armnn::Pooling2dDescriptor& layerDescriptor =
2323  static_cast<const armnn::Pooling2dDescriptor&>(descriptor);
2324  SerializePooling2dLayer(layer, layerDescriptor, name);
2325  break;
2326  }
2328  {
2329  const armnn::Pooling3dDescriptor& layerDescriptor =
2330  static_cast<const armnn::Pooling3dDescriptor&>(descriptor);
2331  SerializePooling3dLayer(layer, layerDescriptor, name);
2332  break;
2333  }
2335  {
2336  SerializePreluLayer(layer, name);
2337  break;
2338  }
2340  {
2341  SerializeQuantizeLayer(layer, name);
2342  break;
2343  }
2345  SerializeQuantizedLstmLayer(layer, constants, name);
2346  break;
2348  {
2349  const armnn::ReshapeDescriptor &layerDescriptor =
2350  static_cast<const armnn::ReshapeDescriptor &>(descriptor);
2351  SerializeReshapeLayer(layer, layerDescriptor, name);
2352  break;
2353  }
2355  {
2356  SerializeRankLayer(layer, name);
2357  break;
2358  }
2360  {
2361  const armnn::ReduceDescriptor& layerDescriptor =
2362  static_cast<const armnn::ReduceDescriptor&>(descriptor);
2363  SerializeReduceLayer(layer, layerDescriptor, name);
2364  break;
2365  }
2367  {
2368  const armnn::ResizeDescriptor& layerDescriptor =
2369  static_cast<const armnn::ResizeDescriptor&>(descriptor);
2370  SerializeResizeLayer(layer, layerDescriptor, name);
2371  break;
2372  }
2374  {
2375  SerializeReverseV2Layer(layer, name);
2376  break;
2377  }
2379  {
2380  SerializeShapeLayer(layer, name);
2381  break;
2382  }
2384  {
2385  const armnn::SliceDescriptor& layerDescriptor =
2386  static_cast<const armnn::SliceDescriptor&>(descriptor);
2387  SerializeSliceLayer(layer, layerDescriptor, name);
2388  break;
2389  }
2391  {
2392  const armnn::SoftmaxDescriptor& layerDescriptor =
2393  static_cast<const armnn::SoftmaxDescriptor&>(descriptor);
2394  SerializeSoftmaxLayer(layer, layerDescriptor, name);
2395  break;
2396  }
2398  {
2399  const armnn::SpaceToBatchNdDescriptor& layerDescriptor =
2400  static_cast<const armnn::SpaceToBatchNdDescriptor&>(descriptor);
2401  SerializeSpaceToBatchNdLayer(layer, layerDescriptor, name);
2402  break;
2403  }
2405  {
2406  const armnn::SpaceToDepthDescriptor& layerDescriptor =
2407  static_cast<const armnn::SpaceToDepthDescriptor&>(descriptor);
2408  SerializeSpaceToDepthLayer(layer, layerDescriptor, name);
2409  break;
2410  }
2412  {
2413  const armnn::SplitterDescriptor& layerDescriptor =
2414  static_cast<const armnn::SplitterDescriptor&>(descriptor);
2415  SerializeSplitterLayer(layer, layerDescriptor, name);
2416  break;
2417  }
2419  {
2420  const armnn::StackDescriptor& layerDescriptor =
2421  static_cast<const armnn::StackDescriptor&>(descriptor);
2422  SerializeStackLayer(layer, layerDescriptor, name);
2423  break;
2424  }
2426  {
2427  const armnn::StandInDescriptor& layerDescriptor =
2428  static_cast<const armnn::StandInDescriptor&>(descriptor);
2429  SerializeStandInLayer(layer, layerDescriptor, name);
2430  break;
2431  }
2433  {
2434  const armnn::StridedSliceDescriptor& layerDescriptor =
2435  static_cast<const armnn::StridedSliceDescriptor&>(descriptor);
2436  SerializeStridedSliceLayer(layer, layerDescriptor, name);
2437  break;
2438  }
2440  {
2441  SerializeSubtractionLayer(layer, name);
2442  break;
2443  }
2445  {
2446  SerializeSwitchLayer(layer, name);
2447  break;
2448  }
2450  {
2451  const armnn::TileDescriptor& layerDescriptor =
2452  static_cast<const armnn::TileDescriptor&>(descriptor);
2453  SerializeTileLayer(layer, layerDescriptor, name);
2454  break;
2455  }
2457  {
2458  const armnn::TransposeDescriptor& layerDescriptor =
2459  static_cast<const armnn::TransposeDescriptor&>(descriptor);
2460  SerializeTransposeLayer(layer, layerDescriptor, name);
2461  break;
2462  }
2464  {
2465  const armnn::TransposeConvolution2dDescriptor& layerDescriptor =
2466  static_cast<const armnn::TransposeConvolution2dDescriptor&>(descriptor);
2467  SerializeTransposeConvolution2dLayer(layer, layerDescriptor, constants, name);
2468  break;
2469  }
2471  {
2472  const armnn::UnidirectionalSequenceLstmDescriptor& layerDescriptor =
2473  static_cast<const armnn::UnidirectionalSequenceLstmDescriptor&>(descriptor);
2474  SerializeUnidirectionalSequenceLstmLayer(layer, layerDescriptor, constants, name);
2475  break;
2476  }
2477  default:
2478  {
2480  fmt::format("A layer of unknown type was given to the serializer. Layer name: {}; Layer Id: {}",
2481  layer->GetName(),
2482  id));
2483  }
2484  }
2485 }

References armnn::Activation, armnn::Addition, armnn::ArgMinMax, armnn::BatchMatMul, armnn::BatchNormalization, armnn::BatchToSpaceNd, armnn::Cast, armnn::ChannelShuffle, armnn::Comparison, armnn::Concat, armnn::Constant, armnn::Convolution2d, armnn::Convolution3d, armnn::DepthToSpace, armnn::DepthwiseConvolution2d, armnn::Dequantize, armnn::DetectionPostProcess, armnn::Division, armnn::ElementwiseBinary, armnn::ElementwiseUnary, armnn::Fill, armnn::Floor, armnn::FullyConnected, armnn::Gather, armnn::GatherNd, IConnectableLayer::GetName(), IConnectableLayer::GetType(), armnn::IgnoreUnused(), armnn::Input, armnn::InstanceNormalization, armnn::L2Normalization, armnn::LogicalBinary, armnn::LogSoftmax, armnn::Lstm, armnn::Maximum, armnn::Mean, armnn::Merge, armnn::Minimum, armnn::Multiplication, armnn::Normalization, armnn::Output, armnn::Pad, armnn::Permute, armnn::Pooling2d, armnn::Pooling3d, armnn::Prelu, armnn::QLstm, armnn::Quantize, armnn::QuantizedLstm, armnn::Rank, armnn::Reduce, armnn::Reshape, armnn::Resize, armnn::ReverseV2, armnn::Shape, armnn::Slice, armnn::Softmax, armnn::SpaceToBatchNd, armnn::SpaceToDepth, armnn::Splitter, armnn::Stack, armnn::StandIn, armnn::StridedSlice, armnn::Subtraction, armnn::Switch, armnn::Tile, armnn::Transpose, armnn::TransposeConvolution2d, and armnn::UnidirectionalSequenceLstm.

◆ GetFlatBufferBuilder()

flatbuffers::FlatBufferBuilder& GetFlatBufferBuilder ( )
inline

Definition at line 34 of file Serializer.hpp.

35  {
36  return m_flatBufferBuilder;
37  }

◆ GetInputIds()

std::vector<int>& GetInputIds ( )
inline

Definition at line 39 of file Serializer.hpp.

40  {
41  return m_inputIds;
42  }

◆ GetOutputIds()

std::vector<int>& GetOutputIds ( )
inline

Definition at line 44 of file Serializer.hpp.

45  {
46  return m_outputIds;
47  }

◆ GetSerializedLayers()

std::vector<flatbuffers::Offset<armnnSerializer::AnyLayer> >& GetSerializedLayers ( )
inline

Definition at line 49 of file Serializer.hpp.

50  {
51  return m_serializedLayers;
52  }

◆ GetVersionTable()

flatbuffers::Offset< armnnSerializer::FeatureCompatibilityVersions > GetVersionTable ( )

Definition at line 1968 of file Serializer.cpp.

1969 {
1970  flatbuffers::Offset<armnnSerializer::FeatureCompatibilityVersions> versionsTable =
1971  serializer::CreateFeatureCompatibilityVersions(
1972  m_flatBufferBuilder,
1973  1, // Binding ids scheme version
1974  1, // Weights layout scheme version
1975  1 // Constant tensors as inputs version
1976  );
1977  return versionsTable;
1978 }

The documentation for this class was generated from the following files:
armnn::BatchNormalizationDescriptor
A BatchNormalizationDescriptor for the BatchNormalizationLayer.
Definition: Descriptors.hpp:828
armnn::LayerType::SpaceToDepth
@ SpaceToDepth
armnn::ViewsDescriptor
A ViewsDescriptor for the SplitterLayer.
Definition: Descriptors.hpp:244
armnn::LayerType::Permute
@ Permute
armnn::ActivationDescriptor
An ActivationDescriptor for the ActivationLayer.
Definition: Descriptors.hpp:36
armnn::FullyConnectedDescriptor
A FullyConnectedDescriptor for the FullyConnectedLayer.
Definition: Descriptors.hpp:507
armnn::LayerType::Splitter
@ Splitter
armnn::LayerType::BatchNormalization
@ BatchNormalization
armnn::QLstmDescriptor
A QLstmDescriptor for the QLstmLayer.
Definition: Descriptors.hpp:1359
armnn::Pooling3dDescriptor
A Pooling3dDescriptor for the Pooling3dLayer.
Definition: Descriptors.hpp:431
armnn::ResizeDescriptor
A ResizeDescriptor for the ResizeLayer.
Definition: Descriptors.hpp:964
armnn::ArgMinMaxDescriptor
An ArgMinMaxDescriptor for ArgMinMaxLayer.
Definition: Descriptors.hpp:67
armnn::IConnectableLayer::GetName
virtual const char * GetName() const =0
Returns the name of the layer.
armnn::InstanceNormalizationDescriptor
An InstanceNormalizationDescriptor for InstanceNormalizationLayer.
Definition: Descriptors.hpp:847
armnn::GatherDescriptor
A GatherDescriptor for the GatherLayer.
Definition: Descriptors.hpp:944
armnn::LayerType::InstanceNormalization
@ InstanceNormalization
armnn::LayerType::Floor
@ Floor
armnn::L2NormalizationDescriptor
A L2NormalizationDescriptor for the L2NormalizationLayer.
Definition: Descriptors.hpp:809
armnn::LayerType::Transpose
@ Transpose
armnn::NormalizationDescriptor
A NormalizationDescriptor for the NormalizationLayer.
Definition: Descriptors.hpp:769
armnn::LayerType::Comparison
@ Comparison
armnn::LayerType::StridedSlice
@ StridedSlice
armnn::ChannelShuffleDescriptor
A ChannelShuffleDescriptor for the ChannelShuffle operator.
Definition: Descriptors.hpp:1541
armnn::LayerType::Tile
@ Tile
armnn::LayerType::Stack
@ Stack
armnn::StackDescriptor
A StackDescriptor for the StackLayer.
Definition: Descriptors.hpp:1230
armnn::LayerType::Normalization
@ Normalization
armnn::LayerType::QuantizedLstm
@ QuantizedLstm
armnn::LayerType::Reduce
@ Reduce
armnn::LayerType::ElementwiseUnary
@ ElementwiseUnary
armnn::LayerType::GatherNd
@ GatherNd
armnn::LayerType::ElementwiseBinary
@ ElementwiseBinary
armnn::ElementwiseBinaryDescriptor
A ElementwiseBinaryDescriptor for the ElementwiseBinaryLayer.
Definition: Descriptors.hpp:109
armnn::LayerType::Slice
@ Slice
armnn::LayerType::ChannelShuffle
@ ChannelShuffle
armnn::LayerType::Subtraction
@ Subtraction
armnn::LayerType::Prelu
@ Prelu
armnn::LayerType::LogicalBinary
@ LogicalBinary
armnn::LayerType::Concat
@ Concat
armnn::PadDescriptor
A PadDescriptor for the PadLayer.
Definition: Descriptors.hpp:1175
armnn::TransposeDescriptor
A TransposeDescriptor for the TransposeLayer.
Definition: Descriptors.hpp:1469
armnn::LayerType::TransposeConvolution2d
@ TransposeConvolution2d
armnn::LayerType::Merge
@ Merge
armnn::SliceDescriptor
A SliceDescriptor for the SliceLayer.
Definition: Descriptors.hpp:1207
armnn::LayerType::StandIn
@ StandIn
armnn::LayerType::Softmax
@ Softmax
armnn::ReshapeDescriptor
A ReshapeDescriptor for the ReshapeLayer.
Definition: Descriptors.hpp:1002
armnn::InvalidArgumentException
Definition: Exceptions.hpp:80
armnn::LayerType::Quantize
@ Quantize
armnn::LayerType::Multiplication
@ Multiplication
armnn::PermuteDescriptor
A PermuteDescriptor for the PermuteLayer.
Definition: Descriptors.hpp:149
armnn::BatchMatMulDescriptor
A BatchMatMulDescriptor for the BatchMatMul operator.
Definition: Descriptors.hpp:1563
armnn::IConnectableLayer::GetType
virtual LayerType GetType() const =0
Returns the armnn::LayerType of this layer.
armnn::LayerType::Addition
@ Addition
armnn::SpaceToBatchNdDescriptor
A SpaceToBatchNdDescriptor for the SpaceToBatchNdLayer.
Definition: Descriptors.hpp:1022
armnn::Convolution3dDescriptor
A Convolution3dDescriptor for the Convolution3dLayer.
Definition: Descriptors.hpp:588
armnn::LayerType::DepthToSpace
@ DepthToSpace
armnn::LayerType::DetectionPostProcess
@ DetectionPostProcess
armnn::LayerType::Pooling2d
@ Pooling2d
armnn::LayerType::Division
@ Division
armnn::LayerType::Shape
@ Shape
armnn::BatchToSpaceNdDescriptor
A BatchToSpaceNdDescriptor for the BatchToSpaceNdLayer.
Definition: Descriptors.hpp:875
armnn::Convolution2dDescriptor
A Convolution2dDescriptor for the Convolution2dLayer.
Definition: Descriptors.hpp:534
armnn::ComparisonDescriptor
A ComparisonDescriptor for the ComparisonLayer.
Definition: Descriptors.hpp:89
armnn::FillDescriptor
A FillDescriptor for the FillLayer.
Definition: Descriptors.hpp:925
armnn::LayerType::FullyConnected
@ FullyConnected
armnn::LayerType::Gather
@ Gather
armnn::StandInDescriptor
A StandInDescriptor for the StandIn layer.
Definition: Descriptors.hpp:1260
armnn::LayerType::Pooling3d
@ Pooling3d
armnn::LayerType::LogSoftmax
@ LogSoftmax
armnn::LayerType::BatchMatMul
@ BatchMatMul
armnn::LayerType::DepthwiseConvolution2d
@ DepthwiseConvolution2d
armnn::LayerType::Cast
@ Cast
armnn::LayerType::BatchToSpaceNd
@ BatchToSpaceNd
armnn::LstmDescriptor
An LstmDescriptor for the LstmLayer.
Definition: Descriptors.hpp:1081
armnn::StridedSliceDescriptor
A StridedSliceDescriptor for the StridedSliceLayer.
Definition: Descriptors.hpp:1282
armnn::LayerType::Switch
@ Switch
armnn::LogicalBinaryDescriptor
A LogicalBinaryDescriptor for the LogicalBinaryLayer.
Definition: Descriptors.hpp:1497
armnn::LayerType::Reshape
@ Reshape
armnn::LayerType::SpaceToBatchNd
@ SpaceToBatchNd
armnn::LayerType::Fill
@ Fill
armnn::LayerType::L2Normalization
@ L2Normalization
armnn::IgnoreUnused
void IgnoreUnused(Ts &&...)
Definition: IgnoreUnused.hpp:14
armnn::LayerType::Minimum
@ Minimum
armnn::LayerType::UnidirectionalSequenceLstm
@ UnidirectionalSequenceLstm
armnn::LayerType::ReverseV2
@ ReverseV2
armnn::OriginsDescriptor
An OriginsDescriptor for the ConcatLayer.
Definition: Descriptors.hpp:201
armnn::ElementwiseUnaryDescriptor
A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer.
Definition: Descriptors.hpp:129
armnn::TransposeConvolution2dDescriptor
A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer.
Definition: Descriptors.hpp:1419
armnn::LayerType::ArgMinMax
@ ArgMinMax
armnn::LayerType::Pad
@ Pad
armnn::LayerType::Rank
@ Rank
armnn::LayerType::Mean
@ Mean
armnn::LayerType::Input
@ Input
armnn::LayerType::Resize
@ Resize
armnn::DetectionPostProcessDescriptor
Definition: Descriptors.hpp:713
armnn::LayerType::Convolution2d
@ Convolution2d
armnn::Pooling2dDescriptor
A Pooling2dDescriptor for the Pooling2dLayer.
Definition: Descriptors.hpp:371
armnn::LayerType::Maximum
@ Maximum
armnn::LayerType::Activation
@ Activation
armnn::DepthwiseConvolution2dDescriptor
A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer.
Definition: Descriptors.hpp:659
armnn::LayerType::Lstm
@ Lstm
armnn::LayerType::Dequantize
@ Dequantize
armnn::LayerType::Convolution3d
@ Convolution3d
armnn::ReduceDescriptor
A ReduceDescriptor for the REDUCE operators.
Definition: Descriptors.hpp:1517
armnn::MeanDescriptor
A MeanDescriptor for the MeanLayer.
Definition: Descriptors.hpp:1151
armnn::LayerType::QLstm
@ QLstm
armnn::TileDescriptor
Definition: Descriptors.hpp:1619
armnn::SoftmaxDescriptor
A SoftmaxDescriptor for the SoftmaxLayer.
Definition: Descriptors.hpp:177
armnn::SpaceToDepthDescriptor
A SpaceToDepthDescriptor for the SpaceToDepthLayer.
Definition: Descriptors.hpp:1054
armnn::LayerType::Output
@ Output
armnn::LayerType::Constant
@ Constant