24.02
|
#include <SampleDynamicLayerSupport.hpp>
Public Member Functions | |
bool | IsAdditionSupported (const armnn::TensorInfo &input0, const armnn::TensorInfo &input1, const armnn::TensorInfo &output, armnn::Optional< std::string & > reasonIfUnsupported=armnn::EmptyOptional()) const |
bool | IsInputSupported (const armnn::TensorInfo &input, armnn::Optional< std::string & > reasonIfUnsupported) const |
bool | IsOutputSupported (const armnn::TensorInfo &output, armnn::Optional< std::string & > reasonIfUnsupported) const |
bool | IsLayerSupported (const armnn::LayerType &type, const std::vector< armnn::TensorInfo > &infos, const armnn::BaseDescriptor &descriptor, const armnn::Optional< armnn::LstmInputParamsInfo > &lstmParamsInfo, const armnn::Optional< armnn::QuantizedLstmInputParamsInfo > &quantizedLstmParamsInfo, armnn::Optional< std::string & > reasonIfUnsupported=armnn::EmptyOptional()) 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... | |
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 13 of file SampleDynamicLayerSupport.hpp.
bool IsAdditionSupported | ( | const armnn::TensorInfo & | input0, |
const armnn::TensorInfo & | input1, | ||
const armnn::TensorInfo & | output, | ||
armnn::Optional< std::string & > | reasonIfUnsupported = armnn::EmptyOptional() |
||
) | const |
Definition at line 52 of file SampleDynamicLayerSupport.cpp.
References armnn::Float32, and TensorInfo::GetDataType().
Referenced by SampleDynamicLayerSupport::IsLayerSupported().
bool IsInputSupported | ( | const armnn::TensorInfo & | input, |
armnn::Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 40 of file SampleDynamicLayerSupport.cpp.
Referenced by SampleDynamicLayerSupport::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 15 of file SampleDynamicLayerSupport.cpp.
References armnn::Addition, armnn::Input, SampleDynamicLayerSupport::IsAdditionSupported(), SampleDynamicLayerSupport::IsInputSupported(), SampleDynamicLayerSupport::IsOutputSupported(), and armnn::Output.
bool IsOutputSupported | ( | const armnn::TensorInfo & | output, |
armnn::Optional< std::string & > | reasonIfUnsupported | ||
) | const |
Definition at line 46 of file SampleDynamicLayerSupport.cpp.
Referenced by SampleDynamicLayerSupport::IsLayerSupported().