22.05
|
#include <BackendHelper.hpp>
Public Attributes | |
const TensorInfo & | outputStateIn |
const TensorInfo const TensorInfo & | cellStateIn |
const TensorInfo const TensorInfo const TensorInfo & | output |
const TensorInfo const TensorInfo const TensorInfo const Optional< TensorInfo > & | hiddenStateOutput |
const TensorInfo const TensorInfo const TensorInfo const Optional< TensorInfo > const Optional< TensorInfo > & | cellStateOutput |
const TensorInfo const TensorInfo const TensorInfo const Optional< TensorInfo > const Optional< TensorInfo > const LstmDescriptor & | descriptor |
const TensorInfo const TensorInfo const TensorInfo const Optional< TensorInfo > const Optional< TensorInfo > const LstmDescriptor const LstmInputParamsInfo & | paramsInfo |
const TensorInfo const TensorInfo const TensorInfo const Optional< TensorInfo > const Optional< TensorInfo > const LstmDescriptor const LstmInputParamsInfo Optional< std::string & > | reasonIfUnsupported = EmptyOptional()) |
Definition at line 20 of file BackendHelper.hpp.
|
inlineexplicit |
Definition at line 23 of file BackendHelper.hpp.
|
inlineexplicit |
Definition at line 26 of file BackendHelper.hpp.
References LayerSupportHandle::ARMNN_DEPRECATED_MSG_REMOVAL_DATE(), LayerSupportHandle::cellStateIn, LayerSupportHandle::descriptor, LayerSupportHandle::IsActivationSupported(), LayerSupportHandle::IsAdditionSupported(), LayerSupportHandle::IsArgMinMaxSupported(), LayerSupportHandle::IsBackendRegistered(), LayerSupportHandle::IsBatchNormalizationSupported(), LayerSupportHandle::IsBatchToSpaceNdSupported(), LayerSupportHandle::IsCastSupported(), LayerSupportHandle::IsChannelShuffleSupported(), LayerSupportHandle::IsComparisonSupported(), LayerSupportHandle::IsConcatSupported(), LayerSupportHandle::IsConstantSupported(), LayerSupportHandle::IsConvertBf16ToFp32Supported(), LayerSupportHandle::IsConvertFp16ToFp32Supported(), LayerSupportHandle::IsConvertFp32ToBf16Supported(), LayerSupportHandle::IsConvertFp32ToFp16Supported(), LayerSupportHandle::IsConvolution2dSupported(), LayerSupportHandle::IsConvolution3dSupported(), LayerSupportHandle::IsDebugSupported(), LayerSupportHandle::IsDepthToSpaceSupported(), LayerSupportHandle::IsDepthwiseConvolutionSupported(), LayerSupportHandle::IsDequantizeSupported(), LayerSupportHandle::IsDetectionPostProcessSupported(), LayerSupportHandle::IsDilatedDepthwiseConvolutionSupported(), LayerSupportHandle::IsDivisionSupported(), LayerSupportHandle::IsElementwiseUnarySupported(), LayerSupportHandle::IsFakeQuantizationSupported(), LayerSupportHandle::IsFillSupported(), LayerSupportHandle::IsFloorSupported(), LayerSupportHandle::IsFullyConnectedSupported(), LayerSupportHandle::IsGatherNdSupported(), LayerSupportHandle::IsGatherSupported(), LayerSupportHandle::IsInputSupported(), LayerSupportHandle::IsInstanceNormalizationSupported(), LayerSupportHandle::IsL2NormalizationSupported(), LayerSupportHandle::IsLogicalBinarySupported(), LayerSupportHandle::IsLogicalUnarySupported(), LayerSupportHandle::IsLogSoftmaxSupported(), LayerSupportHandle::IsLstmSupported(), LayerSupportHandle::IsMaximumSupported(), LayerSupportHandle::IsMeanSupported(), LayerSupportHandle::IsMemCopySupported(), LayerSupportHandle::IsMemImportSupported(), LayerSupportHandle::IsMergeSupported(), LayerSupportHandle::IsMinimumSupported(), LayerSupportHandle::IsMultiplicationSupported(), LayerSupportHandle::IsNormalizationSupported(), LayerSupportHandle::IsOutputSupported(), LayerSupportHandle::IsPadSupported(), LayerSupportHandle::IsPermuteSupported(), LayerSupportHandle::IsPooling2dSupported(), LayerSupportHandle::IsPooling3dSupported(), LayerSupportHandle::IsPreCompiledSupported(), LayerSupportHandle::IsPreluSupported(), LayerSupportHandle::IsQLstmSupported(), LayerSupportHandle::IsQuantizedLstmSupported(), LayerSupportHandle::IsQuantizeSupported(), LayerSupportHandle::IsRankSupported(), LayerSupportHandle::IsReduceSupported(), LayerSupportHandle::IsReshapeSupported(), LayerSupportHandle::IsResizeSupported(), LayerSupportHandle::IsShapeSupported(), LayerSupportHandle::IsSliceSupported(), LayerSupportHandle::IsSoftmaxSupported(), LayerSupportHandle::IsSpaceToBatchNdSupported(), LayerSupportHandle::IsSpaceToDepthSupported(), LayerSupportHandle::IsSplitterSupported(), LayerSupportHandle::IsStackSupported(), LayerSupportHandle::IsStandInSupported(), LayerSupportHandle::IsStridedSliceSupported(), LayerSupportHandle::IsSubtractionSupported(), LayerSupportHandle::IsSwitchSupported(), LayerSupportHandle::IsTransposeConvolution2dSupported(), LayerSupportHandle::IsTransposeSupported(), LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), LayerSupportHandle::output, LayerSupportHandle::outputStateIn, LayerSupportHandle::paramsInfo, and LayerSupportHandle::reasonIfUnsupported.
ARMNN_DEPRECATED_MSG_REMOVAL_DATE | ( | "This function has been | deprecated, |
please use function without " "Optional TensorInfos" | , | ||
"23.02" | |||
) | const & |
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsActivationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ActivationDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 153 of file BackendHelper.cpp.
References armnn::Activation.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsAdditionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 168 of file BackendHelper.cpp.
References armnn::Addition.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsArgMinMaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ArgMinMaxDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 183 of file BackendHelper.cpp.
References armnn::ArgMinMax.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsBackendRegistered | ( | ) | const |
Definition at line 141 of file BackendHelper.cpp.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsBatchNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TensorInfo & | mean, | ||
const TensorInfo & | var, | ||
const TensorInfo & | beta, | ||
const TensorInfo & | gamma, | ||
const BatchNormalizationDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 198 of file BackendHelper.cpp.
References armnn::BatchNormalization, and LayerSupportHandle::output.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsBatchToSpaceNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const BatchToSpaceNdDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 217 of file BackendHelper.cpp.
References armnn::BatchToSpaceNd.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsCastSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 232 of file BackendHelper.cpp.
References armnn::Cast.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsChannelShuffleSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ChannelShuffleDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 246 of file BackendHelper.cpp.
References armnn::ChannelShuffle.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsComparisonSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const ComparisonDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 261 of file BackendHelper.cpp.
References armnn::Comparison.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConcatSupported | ( | const std::vector< const TensorInfo *> | inputs, |
const TensorInfo & | output, | ||
const OriginsDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 277 of file BackendHelper.cpp.
References armnn::Concat.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConstantSupported | ( | const TensorInfo & | output, |
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 297 of file BackendHelper.cpp.
References armnn::Constant.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConvertBf16ToFp32Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 310 of file BackendHelper.cpp.
References armnn::ConvertBf16ToFp32.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConvertFp16ToFp32Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 338 of file BackendHelper.cpp.
References armnn::ConvertFp16ToFp32.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConvertFp32ToBf16Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 324 of file BackendHelper.cpp.
References armnn::ConvertFp32ToBf16.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConvertFp32ToFp16Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 352 of file BackendHelper.cpp.
References armnn::ConvertFp32ToFp16.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConvolution2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Convolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 366 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::Convolution2d, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), Convolution2dDescriptor::m_BiasEnabled, LayerSupportHandle::output, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsConvolution3dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Convolution3dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 409 of file BackendHelper.cpp.
References armnn::Convolution3d, OptionalBase::has_value(), LayerSupportHandle::output, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDebugSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 427 of file BackendHelper.cpp.
References armnn::Debug.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDepthToSpaceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthToSpaceDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 441 of file BackendHelper.cpp.
References armnn::DepthToSpace.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDepthwiseConvolutionSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthwiseConvolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 456 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::DepthwiseConvolution2d, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), DepthwiseConvolution2dDescriptor::m_BiasEnabled, LayerSupportHandle::output, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDequantizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 501 of file BackendHelper.cpp.
References armnn::Dequantize.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDetectionPostProcessSupported | ( | const TensorInfo & | boxEncodings, |
const TensorInfo & | scores, | ||
const TensorInfo & | anchors, | ||
const TensorInfo & | detectionBoxes, | ||
const TensorInfo & | detectionClasses, | ||
const TensorInfo & | detectionScores, | ||
const TensorInfo & | numDetections, | ||
const DetectionPostProcessDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 515 of file BackendHelper.cpp.
References armnn::DetectionPostProcess.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDilatedDepthwiseConvolutionSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthwiseConvolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 535 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::DepthwiseConvolution2d, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), DepthwiseConvolution2dDescriptor::m_BiasEnabled, LayerSupportHandle::output, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsDivisionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 580 of file BackendHelper.cpp.
References armnn::Division.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsElementwiseUnarySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ElementwiseUnaryDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 595 of file BackendHelper.cpp.
References armnn::ElementwiseUnary.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsFakeQuantizationSupported | ( | const TensorInfo & | input, |
const FakeQuantizationDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 610 of file BackendHelper.cpp.
References armnn::FakeQuantization.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsFillSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const FillDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 624 of file BackendHelper.cpp.
References armnn::Fill.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsFloorSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 639 of file BackendHelper.cpp.
References armnn::Floor.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsFullyConnectedSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TensorInfo & | weights, | ||
const TensorInfo & | biases, | ||
const FullyConnectedDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 653 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::FullyConnected, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), FullyConnectedDescriptor::m_BiasEnabled, FullyConnectedDescriptor::m_ConstantWeights, LayerSupportHandle::output, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsGatherNdSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 735 of file BackendHelper.cpp.
References armnn::GatherNd.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsGatherSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const GatherDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 719 of file BackendHelper.cpp.
References armnn::Gather.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsInputSupported | ( | const TensorInfo & | input, |
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 750 of file BackendHelper.cpp.
References armnn::Input.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsInstanceNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const InstanceNormalizationDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 763 of file BackendHelper.cpp.
References armnn::InstanceNormalization.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsL2NormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const L2NormalizationDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 779 of file BackendHelper.cpp.
References armnn::L2Normalization.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsLogicalBinarySupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const LogicalBinaryDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 794 of file BackendHelper.cpp.
References armnn::LogicalBinary.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsLogicalUnarySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ElementwiseUnaryDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 810 of file BackendHelper.cpp.
References armnn::ElementwiseUnary.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsLogSoftmaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const LogSoftmaxDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 825 of file BackendHelper.cpp.
References armnn::LogSoftmax.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsLstmSupported | ( | const TensorInfo & | input, |
const TensorInfo & | outputStateIn, | ||
const TensorInfo & | cellStateIn, | ||
const TensorInfo & | scratchBuffer, | ||
const TensorInfo & | outputStateOut, | ||
const TensorInfo & | cellStateOut, | ||
const TensorInfo & | output, | ||
const LstmDescriptor & | descriptor, | ||
const LstmInputParamsInfo & | paramsInfo, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 840 of file BackendHelper.cpp.
References LayerSupportHandle::cellStateIn, armnn::Lstm, and LayerSupportHandle::outputStateIn.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMaximumSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 861 of file BackendHelper.cpp.
References armnn::Maximum.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMeanSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const MeanDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 876 of file BackendHelper.cpp.
References armnn::Mean.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMemCopySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 891 of file BackendHelper.cpp.
References armnn::MemCopy.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMemImportSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 905 of file BackendHelper.cpp.
References armnn::MemImport.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMergeSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 919 of file BackendHelper.cpp.
References armnn::Merge.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMinimumSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 934 of file BackendHelper.cpp.
References armnn::Minimum.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsMultiplicationSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 949 of file BackendHelper.cpp.
References armnn::Multiplication.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const NormalizationDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 964 of file BackendHelper.cpp.
References armnn::Normalization.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsOutputSupported | ( | const TensorInfo & | output, |
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 979 of file BackendHelper.cpp.
References armnn::Output.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsPadSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const PadDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 992 of file BackendHelper.cpp.
References armnn::Pad.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsPermuteSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const PermuteDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1007 of file BackendHelper.cpp.
References armnn::Permute.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsPooling2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Pooling2dDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1022 of file BackendHelper.cpp.
References armnn::Pooling2d.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsPooling3dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Pooling3dDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1037 of file BackendHelper.cpp.
References armnn::Pooling3d.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsPreCompiledSupported | ( | const TensorInfo & | input, |
const PreCompiledDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1052 of file BackendHelper.cpp.
References armnn::PreCompiled.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsPreluSupported | ( | const TensorInfo & | input, |
const TensorInfo & | alpha, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1066 of file BackendHelper.cpp.
References armnn::Prelu.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsQLstmSupported | ( | const TensorInfo & | input, |
const TensorInfo & | previousOutputIn, | ||
const TensorInfo & | previousCellStateIn, | ||
const TensorInfo & | outputStateOut, | ||
const TensorInfo & | cellStateOut, | ||
const TensorInfo & | output, | ||
const QLstmDescriptor & | descriptor, | ||
const LstmInputParamsInfo & | paramsInfo, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1095 of file BackendHelper.cpp.
References armnn::QLstm.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsQuantizedLstmSupported | ( | const TensorInfo & | input, |
const TensorInfo & | previousCellStateIn, | ||
const TensorInfo & | previousOutputIn, | ||
const TensorInfo & | cellStateOut, | ||
const TensorInfo & | output, | ||
const QuantizedLstmInputParamsInfo & | paramsInfo, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1115 of file BackendHelper.cpp.
References armnn::QuantizedLstm.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsQuantizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1081 of file BackendHelper.cpp.
References armnn::Quantize.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsRankSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1133 of file BackendHelper.cpp.
References armnn::Rank.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsReduceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ReduceDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1147 of file BackendHelper.cpp.
References armnn::Reduce.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsReshapeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ReshapeDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1162 of file BackendHelper.cpp.
References armnn::Reshape.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsResizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ResizeDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1177 of file BackendHelper.cpp.
References armnn::Resize.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsShapeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1192 of file BackendHelper.cpp.
References armnn::Shape.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSliceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SliceDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1206 of file BackendHelper.cpp.
References armnn::Slice.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSoftmaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SoftmaxDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1221 of file BackendHelper.cpp.
References armnn::Softmax.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSpaceToBatchNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SpaceToBatchNdDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1236 of file BackendHelper.cpp.
References armnn::SpaceToBatchNd.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSpaceToDepthSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SpaceToDepthDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1251 of file BackendHelper.cpp.
References armnn::SpaceToDepth.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSplitterSupported | ( | const TensorInfo & | input, |
const std::vector< std::reference_wrapper< TensorInfo >> & | outputs, | ||
const ViewsDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1266 of file BackendHelper.cpp.
References armnn::Splitter.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsStackSupported | ( | const std::vector< const TensorInfo *> & | inputs, |
const TensorInfo & | output, | ||
const StackDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1285 of file BackendHelper.cpp.
References armnn::Stack.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsStandInSupported | ( | const std::vector< const TensorInfo *> & | inputs, |
const std::vector< const TensorInfo *> & | outputs, | ||
const StandInDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1305 of file BackendHelper.cpp.
References armnn::StandIn.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsStridedSliceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const StridedSliceDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1329 of file BackendHelper.cpp.
References armnn::StridedSlice.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSubtractionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1344 of file BackendHelper.cpp.
References armnn::Subtraction.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsSwitchSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output0, | ||
const TensorInfo & | output1, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1359 of file BackendHelper.cpp.
References armnn::Switch.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsTransposeConvolution2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TransposeConvolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1375 of file BackendHelper.cpp.
References OptionalBase::has_value(), LayerSupportHandle::output, armnn::TransposeConvolution2d, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsTransposeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TransposeDescriptor & | descriptor, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1394 of file BackendHelper.cpp.
References armnn::Transpose.
Referenced by LayerSupportHandle::LayerSupportHandle().
bool IsUnidirectionalSequenceLstmSupported | ( | const TensorInfo & | input, |
const TensorInfo & | outputStateIn, | ||
const TensorInfo & | cellStateIn, | ||
const TensorInfo & | outputStateOut, | ||
const TensorInfo & | cellStateOut, | ||
const TensorInfo & | output, | ||
const LstmDescriptor & | descriptor, | ||
const LstmInputParamsInfo & | paramsInfo, | ||
Optional< std::string &> | reasonIfUnsupported = EmptyOptional() |
||
) |
Definition at line 1410 of file BackendHelper.cpp.
References LayerSupportHandle::cellStateIn, LayerSupportHandle::descriptor, OptionalBase::has_value(), LayerSupportHandle::output, LayerSupportHandle::outputStateIn, LayerSupportHandle::paramsInfo, LayerSupportHandle::reasonIfUnsupported, armnn::UnidirectionalSequenceLstm, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
Referenced by LayerSupportHandle::LayerSupportHandle().
const TensorInfo const TensorInfo& cellStateIn |
Definition at line 418 of file BackendHelper.hpp.
Referenced by LayerSupportHandle::IsLstmSupported(), LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), and LayerSupportHandle::LayerSupportHandle().
const TensorInfo const TensorInfo const TensorInfo const Optional<TensorInfo> const Optional<TensorInfo>& cellStateOutput |
Definition at line 418 of file BackendHelper.hpp.
const TensorInfo const TensorInfo const TensorInfo const Optional<TensorInfo> const Optional<TensorInfo> const LstmDescriptor& descriptor |
Definition at line 418 of file BackendHelper.hpp.
Referenced by LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), and LayerSupportHandle::LayerSupportHandle().
const TensorInfo const TensorInfo const TensorInfo const Optional<TensorInfo>& hiddenStateOutput |
Definition at line 418 of file BackendHelper.hpp.
const TensorInfo const TensorInfo const TensorInfo& output |
Definition at line 418 of file BackendHelper.hpp.
Referenced by LayerSupportHandle::IsBatchNormalizationSupported(), LayerSupportHandle::IsConvolution2dSupported(), LayerSupportHandle::IsConvolution3dSupported(), LayerSupportHandle::IsDepthwiseConvolutionSupported(), LayerSupportHandle::IsDilatedDepthwiseConvolutionSupported(), LayerSupportHandle::IsFullyConnectedSupported(), LayerSupportHandle::IsTransposeConvolution2dSupported(), LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), and LayerSupportHandle::LayerSupportHandle().
const TensorInfo& outputStateIn |
Definition at line 418 of file BackendHelper.hpp.
Referenced by LayerSupportHandle::IsLstmSupported(), LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), and LayerSupportHandle::LayerSupportHandle().
const TensorInfo const TensorInfo const TensorInfo const Optional<TensorInfo> const Optional<TensorInfo> const LstmDescriptor const LstmInputParamsInfo& paramsInfo |
Definition at line 418 of file BackendHelper.hpp.
Referenced by LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), and LayerSupportHandle::LayerSupportHandle().
const TensorInfo const TensorInfo const TensorInfo const Optional<TensorInfo> const Optional<TensorInfo> const LstmDescriptor const LstmInputParamsInfo Optional<std::string&> reasonIfUnsupported = EmptyOptional()) |
Definition at line 425 of file BackendHelper.hpp.
Referenced by LayerSupportHandle::IsUnidirectionalSequenceLstmSupported(), and LayerSupportHandle::LayerSupportHandle().