ArmNN
 26.01
Loading...
Searching...
No Matches
armnn::optimizations Namespace Reference

Namespaces

namespace  pad_fold
 

Classes

class  AddBroadcastReshapeLayerImpl
 
class  AddDebugImpl
 
class  AddDebugToFileImpl
 
class  ConvertConstants
 
class  ConvertConstDequantisationLayersToConstLayersImpl
 
class  ConvertConstPermuteLayersToConstLayers
 
class  ConvertFp32NetworkToFp16Impl
 
class  DeleteBroadcastToImpl
 
struct  Float16ToFloat32
 
struct  Float32ToFloat16
 
class  FuseBatchNorm
 
struct  IsFloat16Layer
 
struct  IsFloat32Layer
 
class  MaxMinIntoBoundedReluImpl
 
class  MovePermuteUpImpl
 
class  MoveTransposeUpImpl
 
class  OptimizeConsecutiveReshapesImpl
 
class  OptimizeInverseConversionsImpl
 
class  OptimizeInversePermutesImpl
 
class  PermuteAndBatchToSpaceAsDepthToSpaceImpl
 Replaces Permute leading into BatchToSpace with a DepthToSpace in the case where the Permute swaps the batch and channels dimensions such that the replacement is valid. More...
 
class  PermuteAsReshapeImpl
 
class  PermuteDepthwiseConv2dWeightsImpl
 
class  SquashEqualSiblingsImpl
 
class  TransposeAsReshapeImpl
 
class  TurboConvertConstDequantisationLayersToConstLayersImpl
 

Typedefs

using AddBroadcastReshapeLayer = OptimizeForType<Layer, AddBroadcastReshapeLayerImpl>
 
using InsertDebugLayer = OptimizeForType<Layer, AddDebugImpl>
 
using InsertDebugToFileLayer = OptimizeForType<Layer, AddDebugToFileImpl>
 
using ConvertConstantsHalfToFloat = ConvertConstants<Float16ToFloat32, IsFloat32Layer>
 
using ConvertConstantsFloatToHalf = ConvertConstants<Float32ToFloat16, IsFloat16Layer>
 
using ConvertConstDequantisationLayersToConstLayers
 
using FusePermuteIntoConstLayer
 
using Fp32NetworkToFp16Converter = OptimizeForType<Layer, ConvertFp32NetworkToFp16Impl>
 
using BroadcastToOptimizationLayer = OptimizeForType<BroadcastToLayer, DeleteBroadcastToImpl>
 
using FoldPadIntoConvolution2d
 
using FoldPadIntoDepthwiseConvolution2d
 
using FoldPadIntoPooling2d
 
using FuseBatchNormIntoConvolution2DFloat32
 
using FuseBatchNormIntoConvolution2DFloat16
 
using FuseBatchNormIntoDepthwiseConvolution2DFloat32
 
using FuseBatchNormIntoDepthwiseConvolution2DFloat16
 
using MaxMinIntoBoundedRelu
 
using MovePermuteUp = OptimizeForConnection<Layer, PermuteLayer, MovePermuteUpImpl>
 
using MoveTransposeUp = OptimizeForConnection<Layer, TransposeLayer, MoveTransposeUpImpl>
 
using OptimizeConsecutiveReshapes = OptimizeForConnection<ReshapeLayer, ReshapeLayer, OptimizeConsecutiveReshapesImpl>
 
using OptimizeInverseConversionsFp16
 
using OptimizeInverseConversionsFp32
 
using OptimizeInversePermutes
 
using OptimizeInverseTransposes
 
using PermuteAndBatchToSpaceAsDepthToSpace
 
using TransposeAndBatchToSpaceAsDepthToSpace
 
using PermuteAsReshape = OptimizeForType<PermuteLayer, PermuteAsReshapeImpl>
 
using PermuteDepthwiseConv2dWeights = OptimizeForType<Layer, PermuteDepthwiseConv2dWeightsImpl>
 
using SquashEqualPermuteSiblings = OptimizeForConnection<Layer, PermuteLayer, SquashEqualSiblingsImpl<PermuteLayer>>
 
using SquashEqualTransposeSiblings
 
using SquashEqualReshapeSiblings = OptimizeForConnection<Layer, ReshapeLayer, SquashEqualSiblingsImpl<ReshapeLayer>>
 
using TransposeAsReshape = OptimizeForType<TransposeLayer, TransposeAsReshapeImpl>
 
using TurboConvertConstDequantisationLayersToConstLayers
 

Typedef Documentation

◆ AddBroadcastReshapeLayer

◆ BroadcastToOptimizationLayer

◆ ConvertConstantsFloatToHalf

◆ ConvertConstantsHalfToFloat

◆ ConvertConstDequantisationLayersToConstLayers

Initial value:
OptimizeForConnection<ConstantLayer,
DequantizeLayer,
ConvertConstDequantisationLayersToConstLayersImpl>

Definition at line 170 of file ConvertConstDequantisationLayersToConstLayers.hpp.

◆ FoldPadIntoConvolution2d

Initial value:
OptimizeForExclusiveConnection<PadLayer, Convolution2dLayer, pad_fold::FoldPadIntoConvolution2dImpl>

Definition at line 279 of file FoldPadIntoLayer2d.hpp.

◆ FoldPadIntoDepthwiseConvolution2d

Initial value:
OptimizeForExclusiveConnection <PadLayer,
DepthwiseConvolution2dLayer,
pad_fold::FoldPadIntoDepthwiseConvolution2dImpl>

Definition at line 281 of file FoldPadIntoLayer2d.hpp.

◆ FoldPadIntoPooling2d

Initial value:
OptimizeForExclusiveConnection<PadLayer, Pooling2dLayer, pad_fold::FoldPadIntoPooling2dImpl>

Definition at line 285 of file FoldPadIntoLayer2d.hpp.

◆ Fp32NetworkToFp16Converter

◆ FuseBatchNormIntoConvolution2DFloat16

Initial value:
OptimizeForExclusiveConnection<Convolution2dLayer,
BatchNormalizationLayer,
FuseBatchNorm<Convolution2dLayer, armnn::DataType::Float16>>

Definition at line 224 of file FuseBatchNorm.hpp.

◆ FuseBatchNormIntoConvolution2DFloat32

Initial value:
OptimizeForExclusiveConnection<Convolution2dLayer,
BatchNormalizationLayer,
FuseBatchNorm<Convolution2dLayer, armnn::DataType::Float32>>

Definition at line 219 of file FuseBatchNorm.hpp.

◆ FuseBatchNormIntoDepthwiseConvolution2DFloat16

Initial value:
OptimizeForExclusiveConnection<DepthwiseConvolution2dLayer,
BatchNormalizationLayer,
FuseBatchNorm<DepthwiseConvolution2dLayer, armnn::DataType::Float16>>

Definition at line 234 of file FuseBatchNorm.hpp.

◆ FuseBatchNormIntoDepthwiseConvolution2DFloat32

Initial value:
OptimizeForExclusiveConnection<DepthwiseConvolution2dLayer,
BatchNormalizationLayer,
FuseBatchNorm<DepthwiseConvolution2dLayer, armnn::DataType::Float32>>

Definition at line 229 of file FuseBatchNorm.hpp.

◆ FusePermuteIntoConstLayer

Initial value:
OptimizeForConnection<ConstantLayer,
PermuteLayer,
ConvertConstPermuteLayersToConstLayers>

Definition at line 122 of file ConvertConstPermuteLayersToConstLayers.hpp.

◆ InsertDebugLayer

Definition at line 53 of file AddDebug.hpp.

◆ InsertDebugToFileLayer

◆ MaxMinIntoBoundedRelu

Initial value:
OptimizeForExclusiveConnection<ElementwiseBinaryLayer,
ElementwiseBinaryLayer,
MaxMinIntoBoundedReluImpl>

Definition at line 132 of file MaxMinIntoBoundedRelu.hpp.

◆ MovePermuteUp

◆ MoveTransposeUp

◆ OptimizeConsecutiveReshapes

◆ OptimizeInverseConversionsFp16

Initial value:
OptimizeForConnection<ConvertFp16ToFp32Layer, ConvertFp32ToFp16Layer, OptimizeInverseConversionsImpl>

Definition at line 41 of file OptimizeInverseConversions.hpp.

◆ OptimizeInverseConversionsFp32

Initial value:
OptimizeForConnection<ConvertFp32ToFp16Layer, ConvertFp16ToFp32Layer, OptimizeInverseConversionsImpl>

Definition at line 43 of file OptimizeInverseConversions.hpp.

◆ OptimizeInversePermutes

Initial value:
OptimizeForConnection<PermuteLayer, PermuteLayer,
OptimizeInversePermutesImpl<PermuteLayer>>

Definition at line 42 of file OptimizeInversePermutes.hpp.

◆ OptimizeInverseTransposes

Initial value:
OptimizeForConnection<TransposeLayer, TransposeLayer,
OptimizeInversePermutesImpl<TransposeLayer>>

Definition at line 44 of file OptimizeInversePermutes.hpp.

◆ PermuteAndBatchToSpaceAsDepthToSpace

Initial value:
OptimizeForConnection<PermuteLayer, BatchToSpaceNdLayer,
PermuteAndBatchToSpaceAsDepthToSpaceImpl<PermuteLayer>>

Definition at line 101 of file PermuteAndBatchToSpaceAsDepthToSpace.hpp.

◆ PermuteAsReshape

◆ PermuteDepthwiseConv2dWeights

◆ SquashEqualPermuteSiblings

◆ SquashEqualReshapeSiblings

◆ SquashEqualTransposeSiblings

Initial value:
OptimizeForConnection<Layer, TransposeLayer,
SquashEqualSiblingsImpl<TransposeLayer>>

Definition at line 68 of file SquashEqualSiblings.hpp.

◆ TransposeAndBatchToSpaceAsDepthToSpace

Initial value:
OptimizeForConnection<TransposeLayer, BatchToSpaceNdLayer,
PermuteAndBatchToSpaceAsDepthToSpaceImpl<TransposeLayer>>

Definition at line 103 of file PermuteAndBatchToSpaceAsDepthToSpace.hpp.

◆ TransposeAsReshape

◆ TurboConvertConstDequantisationLayersToConstLayers

Initial value:
OptimizeForConnection<ConstantLayer,
DequantizeLayer,
TurboConvertConstDequantisationLayersToConstLayersImpl>

Definition at line 124 of file TurboConvertConstDequantisationLayersToConstLayers.hpp.