24.02
|
#include <ClLayerSupport.hpp>
Public Member Functions | |
ClLayerSupport (const IBackendInternal::IBackendSpecificModelContextPtr &modelContextPtr) | |
ClLayerSupport () | |
~ClLayerSupport () | |
bool | IsLayerSupported (const LayerType &type, const std::vector< TensorInfo > &infos, const BaseDescriptor &descriptor, const Optional< LstmInputParamsInfo > &lstmParamsInfo, const Optional< QuantizedLstmInputParamsInfo > &quantizedLstmParamsInfo, Optional< std::string & > reasonIfUnsupported) const |
Default implementation of the ILayerSupport interface, Backends should implement this as a switch statement for each of their LayerTypes calling their specific backend implementation of IsXXXLayerSupported. More... | |
bool | IsActivationSupported (const TensorInfo &input, const TensorInfo &output, const ActivationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsAdditionSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsArgMinMaxSupported (const TensorInfo &input, const TensorInfo &output, const ArgMinMaxDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsBatchMatMulSupported (const TensorInfo &inputX, const TensorInfo &inputY, const TensorInfo &output, const BatchMatMulDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
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()) const |
bool | IsBatchToSpaceNdSupported (const TensorInfo &input, const TensorInfo &output, const BatchToSpaceNdDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsCastSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsChannelShuffleSupported (const TensorInfo &input, const TensorInfo &output, const ChannelShuffleDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsComparisonSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &ouput, const ComparisonDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsConcatSupported (const std::vector< const TensorInfo * > inputs, const TensorInfo &output, const OriginsDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsConstantSupported (const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsConvertFp16ToFp32Supported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsConvertFp32ToFp16Supported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsConvolution2dSupported (const TensorInfo &input, const TensorInfo &output, const Convolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsConvolution3dSupported (const TensorInfo &input, const TensorInfo &output, const Convolution3dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsDequantizeSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsDepthToSpaceSupported (const TensorInfo &input, const TensorInfo &output, const DepthToSpaceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsDepthwiseConvolutionSupported (const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsDilatedDepthwiseConvolutionSupported (const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reason=EmptyOptional()) const |
bool | IsDivisionSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsElementwiseUnarySupported (const TensorInfo &input, const TensorInfo &output, const ElementwiseUnaryDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsFillSupported (const TensorInfo &input, const TensorInfo &output, const FillDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsFloorSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsFullyConnectedSupported (const TensorInfo &input, const TensorInfo &output, const TensorInfo &weights, const TensorInfo &biases, const FullyConnectedDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsGatherNdSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported) const |
bool | IsGatherSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const GatherDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported) const |
bool | IsInputSupported (const TensorInfo &input, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsInstanceNormalizationSupported (const TensorInfo &input, const TensorInfo &output, const InstanceNormalizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsL2NormalizationSupported (const TensorInfo &input, const TensorInfo &output, const L2NormalizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsLogicalBinarySupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, const LogicalBinaryDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported) const |
bool | IsLogSoftmaxSupported (const TensorInfo &input, const TensorInfo &output, const LogSoftmaxDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
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()) const |
bool | IsMaximumSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsMeanSupported (const TensorInfo &input, const TensorInfo &output, const MeanDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsMinimumSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsMultiplicationSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsNormalizationSupported (const TensorInfo &input, const TensorInfo &output, const NormalizationDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsOutputSupported (const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsPadSupported (const TensorInfo &input, const TensorInfo &output, const PadDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsPermuteSupported (const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsPooling2dSupported (const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsPooling3dSupported (const TensorInfo &input, const TensorInfo &output, const Pooling3dDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsPreluSupported (const TensorInfo &input, const TensorInfo &alpha, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
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()) const |
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()) const |
bool | IsQuantizeSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsReduceSupported (const TensorInfo &input, const TensorInfo &output, const ReduceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsReshapeSupported (const TensorInfo &input, const TensorInfo &output, const ReshapeDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsResizeSupported (const TensorInfo &input, const TensorInfo &output, const ResizeDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsReverseV2Supported (const TensorInfo &input, const TensorInfo &axis, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported) const |
bool | IsSliceSupported (const TensorInfo &input, const TensorInfo &output, const SliceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsSoftmaxSupported (const TensorInfo &input, const TensorInfo &output, const SoftmaxDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsSpaceToBatchNdSupported (const TensorInfo &input, const TensorInfo &output, const SpaceToBatchNdDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsSpaceToDepthSupported (const TensorInfo &input, const TensorInfo &output, const SpaceToDepthDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsSplitterSupported (const TensorInfo &input, const std::vector< std::reference_wrapper< TensorInfo >> &outputs, const ViewsDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsStackSupported (const std::vector< const TensorInfo * > &inputs, const TensorInfo &output, const StackDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsStridedSliceSupported (const TensorInfo &input, const TensorInfo &output, const StridedSliceDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsSubtractionSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsTransposeConvolution2dSupported (const TensorInfo &input, const TensorInfo &output, const TransposeConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsTileSupported (const TensorInfo &input, const TensorInfo &output, const TileDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsTransposeSupported (const TensorInfo &input, const TensorInfo &output, const TransposeDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsUnidirectionalSequenceLstmSupported (const TensorInfo &input, const TensorInfo &outputStateIn, const TensorInfo &cellStateIn, const TensorInfo &outputStateOut, const TensorInfo &cellStateOut, const TensorInfo &output, const UnidirectionalSequenceLstmDescriptor &descriptor, const LstmInputParamsInfo ¶msInfo, Optional< std::string & > reasonIfUnsupported) const |
Public Member Functions inherited from LayerSupportBase | |
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()) const |
bool | IsMemCopySupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsMemImportSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsMergeSupported (const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
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()) const |
bool | IsShapeSupported (const TensorInfo &input, const TensorInfo &output, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
bool | IsStandInSupported (const std::vector< const TensorInfo * > &inputs, const std::vector< const TensorInfo * > &outputs, const StandInDescriptor &descriptor, Optional< std::string & > reasonIfUnsupported=EmptyOptional()) const |
Additional Inherited Members | |
Protected Member Functions inherited from ILayerSupport | |
ILayerSupport () | |
virtual | ~ILayerSupport () |
Definition at line 14 of file ClLayerSupport.hpp.
|
explicit |
Definition at line 177 of file ClLayerSupport.cpp.
ClLayerSupport | ( | ) |
Definition at line 182 of file ClLayerSupport.cpp.
|
inline |
Definition at line 19 of file ClLayerSupport.hpp.
bool IsActivationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ActivationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 696 of file ClLayerSupport.cpp.
References armnn::ClActivationWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsAdditionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 708 of file ClLayerSupport.cpp.
References armnn::ClAdditionValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsArgMinMaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ArgMinMaxDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 721 of file ClLayerSupport.cpp.
References armnn::ClArgMinMaxWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsBatchMatMulSupported | ( | const TensorInfo & | inputX, |
const TensorInfo & | inputY, | ||
const TensorInfo & | output, | ||
const BatchMatMulDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 734 of file ClLayerSupport.cpp.
References armnn::ClBatchMatMulValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
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() |
||
) | const |
Definition at line 749 of file ClLayerSupport.cpp.
References armnn::ClBatchNormalizationValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsBatchToSpaceNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const BatchToSpaceNdDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 770 of file ClLayerSupport.cpp.
References armnn::ClBatchToSpaceNdWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsCastSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 782 of file ClLayerSupport.cpp.
References armnn::ClCastValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsChannelShuffleSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ChannelShuffleDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 792 of file ClLayerSupport.cpp.
References armnn::ClChannelShuffleValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsComparisonSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | ouput, | ||
const ComparisonDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 804 of file ClLayerSupport.cpp.
References armnn::ClComparisonWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsConcatSupported | ( | const std::vector< const TensorInfo * > | inputs, |
const TensorInfo & | output, | ||
const OriginsDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 818 of file ClLayerSupport.cpp.
References armnn::ClConcatWorkloadValidate(), FORWARD_WORKLOAD_VALIDATE_FUNC, OriginsDescriptor::GetConcatAxis(), OriginsDescriptor::GetNumDimensions(), TensorInfo::IsTypeSpaceMatch(), and armnn::SetValueChecked().
Referenced by ClLayerSupport::IsLayerSupported().
bool IsConstantSupported | ( | const TensorInfo & | output, |
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 859 of file ClLayerSupport.cpp.
References armnn::ClConstantWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsConvertFp16ToFp32Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 867 of file ClLayerSupport.cpp.
References armnn::ClConvertFp16ToFp32WorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsConvertFp32ToFp16Supported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 877 of file ClLayerSupport.cpp.
References armnn::ClConvertFp32ToFp16WorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsConvolution2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Convolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 887 of file ClLayerSupport.cpp.
References armnn::ClConvolution2dWorkloadValidate(), FORWARD_WORKLOAD_VALIDATE_FUNC, and ClBackendModelContext::IsFastMathEnabled().
Referenced by ClLayerSupport::IsLayerSupported().
bool IsConvolution3dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Convolution3dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 920 of file ClLayerSupport.cpp.
References armnn::ClConvolution3dWorkloadValidate(), FORWARD_WORKLOAD_VALIDATE_FUNC, and ClBackendModelContext::IsFastMathEnabled().
Referenced by ClLayerSupport::IsLayerSupported().
bool IsDepthToSpaceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthToSpaceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 963 of file ClLayerSupport.cpp.
References armnn::ClDepthToSpaceWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsDepthwiseConvolutionSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthwiseConvolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 975 of file ClLayerSupport.cpp.
References armnn::ClDepthwiseConvolutionWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsDequantizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 953 of file ClLayerSupport.cpp.
References armnn::ClDequantizeWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsDilatedDepthwiseConvolutionSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const DepthwiseConvolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string & > | reason = EmptyOptional() |
||
) | const |
Definition at line 992 of file ClLayerSupport.cpp.
References armnn::ClDepthwiseConvolutionWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
bool IsDivisionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1010 of file ClLayerSupport.cpp.
References armnn::ClDivisionWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsElementwiseUnarySupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ElementwiseUnaryDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1023 of file ClLayerSupport.cpp.
References armnn::Abs, armnn::ClAbsWorkloadValidate(), armnn::ClExpWorkloadValidate(), armnn::ClLogicalNotWorkloadValidate(), armnn::ClLogWorkloadValidate(), armnn::ClNegWorkloadValidate(), armnn::ClRsqrtWorkloadValidate(), armnn::ClSinWorkloadValidate(), armnn::ClSqrtWorkloadValidate(), armnn::Exp, FORWARD_WORKLOAD_VALIDATE_FUNC, armnn::Log, armnn::LogicalNot, ElementwiseUnaryDescriptor::m_Operation, armnn::Neg, armnn::Rsqrt, armnn::Sin, and armnn::Sqrt.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsFillSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const FillDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1075 of file ClLayerSupport.cpp.
References armnn::IgnoreUnused().
Referenced by ClLayerSupport::IsLayerSupported().
bool IsFloorSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1087 of file ClLayerSupport.cpp.
References armnn::ClFloorWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsFullyConnectedSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TensorInfo & | weights, | ||
const TensorInfo & | biases, | ||
const FullyConnectedDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1097 of file ClLayerSupport.cpp.
References armnn::ClFullyConnectedWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsGatherNdSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 1128 of file ClLayerSupport.cpp.
References armnn::ClGatherNdWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsGatherSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const GatherDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 1114 of file ClLayerSupport.cpp.
References armnn::ClGatherWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsInputSupported | ( | const TensorInfo & | input, |
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1140 of file ClLayerSupport.cpp.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsInstanceNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const InstanceNormalizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1146 of file ClLayerSupport.cpp.
References armnn::ClInstanceNormalizationWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsL2NormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const L2NormalizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1158 of file ClLayerSupport.cpp.
References armnn::ClL2NormalizationWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
|
virtual |
Default implementation of the ILayerSupport interface, Backends should implement this as a switch statement for each of their LayerTypes calling their specific backend implementation of IsXXXLayerSupported.
Reimplemented from LayerSupportBase.
Definition at line 187 of file ClLayerSupport.cpp.
References armnn::Activation, armnn::Add, armnn::Addition, armnn::ArgMinMax, ARMNN_NO_DEPRECATE_WARN_BEGIN, ARMNN_NO_DEPRECATE_WARN_END, armnn::BatchMatMul, armnn::BatchNormalization, armnn::BatchToSpaceNd, armnn::Cast, armnn::ChannelShuffle, armnn::ClAdditionValidate(), armnn::ClDivisionWorkloadValidate(), armnn::ClElementwiseBinaryValidate(), armnn::ClMaximumWorkloadValidate(), armnn::ClMinimumWorkloadValidate(), armnn::ClMultiplicationWorkloadValidate(), armnn::ClSubtractionValidate(), armnn::Comparison, armnn::Concat, armnn::Constant, armnn::ConvertFp16ToFp32, armnn::ConvertFp32ToFp16, armnn::Convolution2d, armnn::Convolution3d, armnn::DepthToSpace, armnn::DepthwiseConvolution2d, armnn::Dequantize, armnn::Div, armnn::Division, armnn::ElementwiseBinary, armnn::ElementwiseUnary, armnn::Fill, armnn::Floor, FORWARD_WORKLOAD_VALIDATE_FUNC, armnn::FullyConnected, armnn::Gather, armnn::GatherNd, armnn::Input, armnn::InstanceNormalization, ClLayerSupport::IsActivationSupported(), ClLayerSupport::IsAdditionSupported(), ClLayerSupport::IsArgMinMaxSupported(), ClLayerSupport::IsBatchMatMulSupported(), ClLayerSupport::IsBatchNormalizationSupported(), ClLayerSupport::IsBatchToSpaceNdSupported(), ClLayerSupport::IsCastSupported(), ClLayerSupport::IsChannelShuffleSupported(), ClLayerSupport::IsComparisonSupported(), ClLayerSupport::IsConcatSupported(), ClLayerSupport::IsConstantSupported(), ClLayerSupport::IsConvertFp16ToFp32Supported(), ClLayerSupport::IsConvertFp32ToFp16Supported(), ClLayerSupport::IsConvolution2dSupported(), ClLayerSupport::IsConvolution3dSupported(), ClLayerSupport::IsDepthToSpaceSupported(), ClLayerSupport::IsDepthwiseConvolutionSupported(), ClLayerSupport::IsDequantizeSupported(), ClLayerSupport::IsDivisionSupported(), ClLayerSupport::IsElementwiseUnarySupported(), ClLayerSupport::IsFillSupported(), ClLayerSupport::IsFloorSupported(), ClLayerSupport::IsFullyConnectedSupported(), ClLayerSupport::IsGatherNdSupported(), ClLayerSupport::IsGatherSupported(), ClLayerSupport::IsInputSupported(), ClLayerSupport::IsInstanceNormalizationSupported(), ClLayerSupport::IsL2NormalizationSupported(), ClLayerSupport::IsLogicalBinarySupported(), ClLayerSupport::IsLogSoftmaxSupported(), ClLayerSupport::IsLstmSupported(), ClLayerSupport::IsMaximumSupported(), ClLayerSupport::IsMeanSupported(), LayerSupportBase::IsMemCopySupported(), LayerSupportBase::IsMemImportSupported(), LayerSupportBase::IsMergeSupported(), ClLayerSupport::IsMinimumSupported(), ClLayerSupport::IsMultiplicationSupported(), ClLayerSupport::IsNormalizationSupported(), ClLayerSupport::IsOutputSupported(), ClLayerSupport::IsPadSupported(), ClLayerSupport::IsPermuteSupported(), ClLayerSupport::IsPooling2dSupported(), ClLayerSupport::IsPooling3dSupported(), ClLayerSupport::IsPreluSupported(), ClLayerSupport::IsQLstmSupported(), ClLayerSupport::IsQuantizedLstmSupported(), ClLayerSupport::IsQuantizeSupported(), ClLayerSupport::IsReduceSupported(), ClLayerSupport::IsReshapeSupported(), ClLayerSupport::IsResizeSupported(), ClLayerSupport::IsReverseV2Supported(), LayerSupportBase::IsShapeSupported(), ClLayerSupport::IsSliceSupported(), ClLayerSupport::IsSoftmaxSupported(), ClLayerSupport::IsSpaceToBatchNdSupported(), ClLayerSupport::IsSpaceToDepthSupported(), ClLayerSupport::IsSplitterSupported(), ClLayerSupport::IsStackSupported(), ClLayerSupport::IsStridedSliceSupported(), ClLayerSupport::IsSubtractionSupported(), ClLayerSupport::IsTileSupported(), ClLayerSupport::IsTransposeConvolution2dSupported(), ClLayerSupport::IsTransposeSupported(), ClLayerSupport::IsUnidirectionalSequenceLstmSupported(), armnn::L2Normalization, armnn::LogicalBinary, armnn::LogSoftmax, armnn::Lstm, armnn::Map, armnn::Maximum, armnn::Mean, armnn::MemCopy, armnn::MemImport, armnn::Merge, armnn::Minimum, armnn::Mul, armnn::Multiplication, armnn::Normalization, armnn::Output, armnn::Pad, armnn::Permute, armnn::PolymorphicDowncast(), armnn::Pooling2d, armnn::Pooling3d, armnn::Power, 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::SqDiff, armnn::Stack, armnn::StridedSlice, armnn::Sub, armnn::Subtraction, armnn::Tile, armnn::Transpose, armnn::TransposeConvolution2d, armnn::UnidirectionalSequenceLstm, armnn::Unmap, and OptionalReferenceSwitch< std::is_reference< T >::value, T >::value().
bool IsLogicalBinarySupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
const LogicalBinaryDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 1170 of file ClLayerSupport.cpp.
References armnn::ClLogicalAndWorkloadValidate(), armnn::ClLogicalOrWorkloadValidate(), FORWARD_WORKLOAD_VALIDATE_FUNC, armnn::IgnoreUnused(), armnn::LogicalAnd, armnn::LogicalOr, and LogicalBinaryDescriptor::m_Operation.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsLogSoftmaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const LogSoftmaxDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1198 of file ClLayerSupport.cpp.
References armnn::ClLogSoftmaxWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
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() |
||
) | const |
Definition at line 1210 of file ClLayerSupport.cpp.
References armnn::ClLstmFloatWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsMaximumSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1234 of file ClLayerSupport.cpp.
References armnn::ClMaximumWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsMeanSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const MeanDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1246 of file ClLayerSupport.cpp.
References armnn::ClMeanValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsMinimumSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1258 of file ClLayerSupport.cpp.
References armnn::ClMinimumWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsMultiplicationSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1270 of file ClLayerSupport.cpp.
References armnn::ClMultiplicationWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsNormalizationSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const NormalizationDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1283 of file ClLayerSupport.cpp.
References armnn::ClNormalizationWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsOutputSupported | ( | const TensorInfo & | output, |
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1291 of file ClLayerSupport.cpp.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsPadSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const PadDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1297 of file ClLayerSupport.cpp.
References armnn::ClPadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsPermuteSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const PermuteDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1309 of file ClLayerSupport.cpp.
References armnn::ClPermuteWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsPooling2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Pooling2dDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1317 of file ClLayerSupport.cpp.
References armnn::ClPooling2dWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsPooling3dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const Pooling3dDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1325 of file ClLayerSupport.cpp.
References armnn::ClPooling3dWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsPreluSupported | ( | const TensorInfo & | input, |
const TensorInfo & | alpha, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1333 of file ClLayerSupport.cpp.
References armnn::ClPreluWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
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() |
||
) | const |
Definition at line 1341 of file ClLayerSupport.cpp.
References armnn::ClQLstmWorkloadValidate(), FORWARD_WORKLOAD_VALIDATE_FUNC, TensorInfo::GetDataType(), armnn::QAsymmS8, and armnn::QSymmS16.
Referenced by ClLayerSupport::IsLayerSupported().
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() |
||
) | const |
Definition at line 1375 of file ClLayerSupport.cpp.
References armnn::ClQuantizedLstmWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsQuantizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1393 of file ClLayerSupport.cpp.
References armnn::ClQuantizeWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsReduceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ReduceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1403 of file ClLayerSupport.cpp.
References armnn::ClReduceWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsReshapeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ReshapeDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1415 of file ClLayerSupport.cpp.
References armnn::ClReshapeWorkloadValidate(), FORWARD_WORKLOAD_VALIDATE_FUNC, and armnn::IgnoreUnused().
Referenced by ClLayerSupport::IsLayerSupported().
bool IsResizeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const ResizeDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1424 of file ClLayerSupport.cpp.
References armnn::ClResizeWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsReverseV2Supported | ( | const TensorInfo & | input, |
const TensorInfo & | axis, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 1432 of file ClLayerSupport.cpp.
References armnn::ClReverseV2WorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsSliceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SliceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1444 of file ClLayerSupport.cpp.
References armnn::ClSliceWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsSoftmaxSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SoftmaxDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1452 of file ClLayerSupport.cpp.
References armnn::ClSoftmaxWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsSpaceToBatchNdSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SpaceToBatchNdDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1460 of file ClLayerSupport.cpp.
References armnn::ClSpaceToBatchNdWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsSpaceToDepthSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const SpaceToDepthDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1472 of file ClLayerSupport.cpp.
References armnn::ClSpaceToDepthWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsSplitterSupported | ( | const TensorInfo & | input, |
const std::vector< std::reference_wrapper< TensorInfo >> & | outputs, | ||
const ViewsDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1484 of file ClLayerSupport.cpp.
References armnn::ClSplitterWorkloadValidate(), armnn::ComputeSplitAxis(), FORWARD_WORKLOAD_VALIDATE_FUNC, ViewsDescriptor::GetNumDimensions(), TensorInfo::GetShape(), armnn::IgnoreUnused(), TensorInfo::IsTypeSpaceMatch(), and armnn::SetValueChecked().
Referenced by ClLayerSupport::IsLayerSupported().
bool IsStackSupported | ( | const std::vector< const TensorInfo * > & | inputs, |
const TensorInfo & | output, | ||
const StackDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1517 of file ClLayerSupport.cpp.
References armnn::ClStackWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsStridedSliceSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const StridedSliceDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1529 of file ClLayerSupport.cpp.
References armnn::ClStridedSliceWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsSubtractionSupported | ( | const TensorInfo & | input0, |
const TensorInfo & | input1, | ||
const TensorInfo & | output, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1541 of file ClLayerSupport.cpp.
References armnn::ClSubtractionValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsTileSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TileDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1554 of file ClLayerSupport.cpp.
References armnn::ClTileWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsTransposeConvolution2dSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TransposeConvolution2dDescriptor & | descriptor, | ||
const TensorInfo & | weights, | ||
const Optional< TensorInfo > & | biases, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1566 of file ClLayerSupport.cpp.
References armnn::ClTransposeConvolution2dWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsTransposeSupported | ( | const TensorInfo & | input, |
const TensorInfo & | output, | ||
const TransposeDescriptor & | descriptor, | ||
Optional< std::string & > | reasonIfUnsupported = EmptyOptional() |
||
) | const |
Definition at line 1582 of file ClLayerSupport.cpp.
References armnn::ClTransposeWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().
bool IsUnidirectionalSequenceLstmSupported | ( | const TensorInfo & | input, |
const TensorInfo & | outputStateIn, | ||
const TensorInfo & | cellStateIn, | ||
const TensorInfo & | outputStateOut, | ||
const TensorInfo & | cellStateOut, | ||
const TensorInfo & | output, | ||
const UnidirectionalSequenceLstmDescriptor & | descriptor, | ||
const LstmInputParamsInfo & | paramsInfo, | ||
Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 1590 of file ClLayerSupport.cpp.
References armnn::ClUnidirectionalSequenceLstmFloatWorkloadValidate(), and FORWARD_WORKLOAD_VALIDATE_FUNC.
Referenced by ClLayerSupport::IsLayerSupported().