24.08
|
#include <BackendHelper.hpp>
Public Member Functions | |
LayerSupportHandle (std::shared_ptr< ILayerSupport > layerSupport) | |
LayerSupportHandle (std::shared_ptr< ILayerSupport > layerSupport, const BackendId &backendId) | |
bool | IsBackendRegistered () const |
bool | IsActivationSupported (const TensorInfo &input, const TensorInfo &output, const ActivationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsAdditionSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsArgMinMaxSupported (const TensorInfo &input, const TensorInfo &output, const ArgMinMaxDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsBatchMatMulSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const BatchMatMulDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
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()) |
bool | IsBatchToSpaceNdSupported (const TensorInfo &input, const TensorInfo &output, const BatchToSpaceNdDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsBroadcastToSupported (const TensorInfo &input, const TensorInfo &output, const BroadcastToDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported) |
bool | IsCastSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsChannelShuffleSupported (const TensorInfo &input, const TensorInfo &output, const ChannelShuffleDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsComparisonSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ComparisonDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsConcatSupported (const std::vector< const TensorInfo * > inputs, const TensorInfo &output, const OriginsDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsConstantSupported (const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsConvertFp16ToFp32Supported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsConvertFp32ToFp16Supported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsConvolution2dSupported (const TensorInfo &input, const TensorInfo &output, const Convolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsConvolution3dSupported (const TensorInfo &input, const TensorInfo &output, const Convolution3dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsDebugSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsDepthToSpaceSupported (const TensorInfo &input, const TensorInfo &output, const DepthToSpaceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsDepthwiseConvolutionSupported (const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsDequantizeSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
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()) |
bool | IsDilatedDepthwiseConvolutionSupported (const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsDivisionSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsElementwiseBinarySupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const ElementwiseBinaryDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsElementwiseUnarySupported (const TensorInfo &input, const TensorInfo &output, const ElementwiseUnaryDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsFakeQuantizationSupported (const TensorInfo &input, const FakeQuantizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsFillSupported (const TensorInfo &input, const TensorInfo &output, const FillDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsFloorSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsFullyConnectedSupported (const TensorInfo &input, const TensorInfo &output, const TensorInfo &weights, const TensorInfo &biases, const FullyConnectedDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsFusedSupported (const std::vector< std::reference_wrapper< TensorInfo >> &inputs, const std::vector< std::reference_wrapper< TensorInfo >> &outputs, const FusedDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsGatherSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const GatherDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsGatherNdSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsInputSupported (const TensorInfo &input, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsInstanceNormalizationSupported (const TensorInfo &input, const TensorInfo &output, const InstanceNormalizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsL2NormalizationSupported (const TensorInfo &input, const TensorInfo &output, const L2NormalizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsLogicalBinarySupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const LogicalBinaryDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsLogicalUnarySupported (const TensorInfo &input, const TensorInfo &output, const ElementwiseUnaryDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsLogSoftmaxSupported (const TensorInfo &input, const TensorInfo &output, const LogSoftmaxDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
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 ¶msInfo, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMaximumSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMeanSupported (const TensorInfo &input, const TensorInfo &output, const MeanDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMemCopySupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMemImportSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMergeSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMinimumSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsMultiplicationSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsNormalizationSupported (const TensorInfo &input, const TensorInfo &output, const NormalizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsOutputSupported (const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsPadSupported (const TensorInfo &input, const TensorInfo &output, const PadDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsPermuteSupported (const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsPooling2dSupported (const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsPooling3dSupported (const TensorInfo &input, const TensorInfo &output, const Pooling3dDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsPreCompiledSupported (const TensorInfo &input, const PreCompiledDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsPreluSupported (const TensorInfo &input, const TensorInfo &alpha, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsQuantizeSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
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 ¶msInfo, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsQuantizedLstmSupported (const TensorInfo &input, const TensorInfo &previousCellStateIn, const TensorInfo &previousOutputIn, const TensorInfo &cellStateOut, const TensorInfo &output, const QuantizedLstmInputParamsInfo ¶msInfo, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsRankSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsReduceSupported (const TensorInfo &input, const TensorInfo &output, const ReduceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsReshapeSupported (const TensorInfo &input, const TensorInfo &output, const ReshapeDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsResizeSupported (const TensorInfo &input, const TensorInfo &output, const ResizeDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsReverseV2Supported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsShapeSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsScatterNdSupported (const TensorInfo &input, const TensorInfo &indices, const TensorInfo &updates, const TensorInfo &output, const ScatterNdDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSliceSupported (const TensorInfo &input, const TensorInfo &output, const SliceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSoftmaxSupported (const TensorInfo &input, const TensorInfo &output, const SoftmaxDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSpaceToBatchNdSupported (const TensorInfo &input, const TensorInfo &output, const SpaceToBatchNdDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSpaceToDepthSupported (const TensorInfo &input, const TensorInfo &output, const SpaceToDepthDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSplitterSupported (const TensorInfo &input, const std::vector< std::reference_wrapper< TensorInfo >> &outputs, const ViewsDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsStackSupported (const std::vector< const TensorInfo * > &inputs, const TensorInfo &output, const StackDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsStandInSupported (const std::vector< const TensorInfo * > &inputs, const std::vector< const TensorInfo * > &outputs, const StandInDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsStridedSliceSupported (const TensorInfo &input, const TensorInfo &output, const StridedSliceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSubtractionSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsSwitchSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output0, const TensorInfo &output1, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsTileSupported (const TensorInfo &input, const TensorInfo &output, const TileDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsTransposeConvolution2dSupported (const TensorInfo &input, const TensorInfo &output, const TransposeConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
bool | IsTransposeSupported (const TensorInfo &input, const TensorInfo &output, const TransposeDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
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 ¶msInfo, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) |
Definition at line 29 of file BackendHelper.hpp.
|
inlineexplicit |
|
inlineexplicit |
Definition at line 35 of file BackendHelper.hpp.
bool IsActivationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ActivationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsAdditionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsArgMinMaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ArgMinMaxDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsBackendRegistered | ( | ) | const |
Definition at line 142 of file BackendHelper.cpp.
bool IsBatchMatMulSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const BatchMatMulDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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() |
||
) |
bool IsBatchToSpaceNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const BatchToSpaceNdDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsBroadcastToSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const BroadcastToDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported | ||
) |
Definition at line 250 of file BackendHelper.cpp.
References armnn::BroadcastTo, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
bool IsCastSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsChannelShuffleSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ChannelShuffleDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsComparisonSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const ComparisonDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsConcatSupported | ( | const std::vector< const TensorInfo * > | inputs, |
const TensorInfo & | output, | ||
const OriginsDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsConstantSupported | ( | const TensorInfo & | output, |
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsConvertFp16ToFp32Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsConvertFp32ToFp16Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 371 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::Convolution2d, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), Convolution2dDescriptor::m_BiasEnabled, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
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 425 of file BackendHelper.cpp.
References armnn::Convolution3d, OptionalBase::has_value(), and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
bool IsDebugSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsDepthToSpaceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthToSpaceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 472 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::DepthwiseConvolution2d, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), DepthwiseConvolution2dDescriptor::m_BiasEnabled, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
bool IsDequantizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 540 of file BackendHelper.cpp.
References armnn::DetectionPostProcess.
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 560 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::DepthwiseConvolution2d, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), DepthwiseConvolution2dDescriptor::m_BiasEnabled, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
bool IsDivisionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsElementwiseBinarySupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const ElementwiseBinaryDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsElementwiseUnarySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ElementwiseUnaryDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsFakeQuantizationSupported | ( | const TensorInfo & | input, |
const FakeQuantizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsFillSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const FillDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsFloorSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 703 of file BackendHelper.cpp.
References ARMNN_LOG, armnn::FullyConnected, armnn::GetCapability(), OptionalBase::has_value(), TensorInfo::IsConstant(), BackendId::IsUndefined(), FullyConnectedDescriptor::m_BiasEnabled, FullyConnectedDescriptor::m_ConstantWeights, OptionalReferenceSwitch< std::is_reference< T >::value, T >::value(), and armnn::warning.
bool IsFusedSupported | ( | const std::vector< std::reference_wrapper< TensorInfo >> & | inputs, |
const std::vector< std::reference_wrapper< TensorInfo >> & | outputs, | ||
const FusedDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsGatherNdSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsGatherSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const GatherDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsInputSupported | ( | const TensorInfo & | input, |
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsInstanceNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const InstanceNormalizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsL2NormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const L2NormalizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsLogicalBinarySupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const LogicalBinaryDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsLogicalUnarySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ElementwiseUnaryDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsLogSoftmaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const LogSoftmaxDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 912 of file BackendHelper.cpp.
References armnn::Lstm.
bool IsMaximumSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsMeanSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const MeanDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsMemCopySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsMemImportSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsMergeSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsMinimumSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsMultiplicationSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const NormalizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsOutputSupported | ( | const TensorInfo & | output, |
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsPadSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const PadDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsPermuteSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const PermuteDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsPooling2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Pooling2dDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsPooling3dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Pooling3dDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsPreCompiledSupported | ( | const TensorInfo & | input, |
const PreCompiledDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsPreluSupported | ( | const TensorInfo & | input, |
const TensorInfo & | alpha, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 1167 of file BackendHelper.cpp.
References armnn::QLstm.
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() |
||
) |
bool IsQuantizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsRankSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsReduceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ReduceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsReshapeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ReshapeDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsResizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ResizeDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsReverseV2Supported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsScatterNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | indices, | ||
const TensorInfo & | updates, | ||
const TensorInfo & | output, | ||
const ScatterNdDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsShapeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSliceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SliceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSoftmaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SoftmaxDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSpaceToBatchNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SpaceToBatchNdDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSpaceToDepthSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SpaceToDepthDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSplitterSupported | ( | const TensorInfo & | input, |
const std::vector< std::reference_wrapper< TensorInfo >> & | outputs, | ||
const ViewsDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsStackSupported | ( | const std::vector< const TensorInfo * > & | inputs, |
const TensorInfo & | output, | ||
const StackDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsStandInSupported | ( | const std::vector< const TensorInfo * > & | inputs, |
const std::vector< const TensorInfo * > & | outputs, | ||
const StandInDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsStridedSliceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const StridedSliceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSubtractionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsSwitchSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output0, | ||
const TensorInfo & | output1, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
bool IsTileSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TileDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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 1494 of file BackendHelper.cpp.
References OptionalBase::has_value(), armnn::TransposeConvolution2d, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
bool IsTransposeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TransposeDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) |
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() |
||
) |