23 default:
return "Unknown";
41 default:
return "Unknown";
51 default:
return "Unknown";
65 default:
return "Unknown";
78 default:
return "Unknown";
89 default:
return "Unknown";
99 default:
return "Unknown";
109 default:
return "Unknown";
132 template <
unsigned N>
133 constexpr
bool StrEqual(
const char* strA,
const char (&strB)[N])
136 for (
unsigned i = 0; isEqual && (i < N); ++i)
138 isEqual = (strA[i] == strB[i]);
192 default:
return "Unknown";
202 default:
return "Unknown";
212 default:
return "Unknown";
222 default:
return "Unknown";
228 : std::integral_constant<bool, std::is_floating_point<T>::value && sizeof(T) == 2>
234 return std::is_integral<T>::value;
280 template<
typename QuantizedType>
281 QuantizedType
Quantize(
float value,
float scale, int32_t offset);
289 template <
typename QuantizedType>
290 float Dequantize(QuantizedType value,
float scale, int32_t offset);
296 std::stringstream ss;
298 <<
" for tensor:" << info.
GetShape()
constexpr bool StrEqual(const char *strA, const char(&strB)[N])
unsigned int GetNumDimensions() const
constexpr char const * GetComparisonOperationAsCString(ComparisonOperation operation)
constexpr char const * GetOutputShapeRoundingAsCString(OutputShapeRounding rounding)
constexpr const char * GetResizeMethodAsCString(ResizeMethod method)
void VerifyTensorInfoDataType(const armnn::TensorInfo &info, armnn::DataType dataType)
constexpr char const * GetPaddingMethodAsCString(PaddingMethod method)
constexpr unsigned int GetDataTypeSize(DataType dataType)
Krichevsky 2012: Local Brightness Normalization.
constexpr char const * GetUnaryOperationAsCString(UnaryOperation operation)
Jarret 2009: Local Contrast Normalization.
constexpr char const * GetActivationFunctionAsCString(ActivationFunction activation)
constexpr bool IsQuantizedType()
The padding fields count, but are ignored.
#define ARMNN_NO_DEPRECATE_WARN_BEGIN
The padding fields don't count and are ignored.
constexpr char const * GetArgMinMaxFunctionAsCString(ArgMinMaxFunction function)
GPU Execution: OpenCL: ArmCompute.
NormalizationAlgorithmMethod
Base class for all ArmNN exceptions so that users can filter to just those.
CPU Execution: Reference C++ kernels.
constexpr const char * GetNormalizationAlgorithmChannelAsCString(NormalizationAlgorithmChannel channel)
CPU Execution: NEON: ArmCompute.
constexpr char const * GetPoolingAlgorithmAsCString(PoolingAlgorithm pooling)
constexpr const char * GetNormalizationAlgorithmMethodAsCString(NormalizationAlgorithmMethod method)
constexpr const char * GetDataLayoutName(DataLayout dataLayout)
NormalizationAlgorithmChannel
DataType GetDataType() const
constexpr armnn::Compute ParseComputeDevice(const char *str)
const TensorShape & GetShape() const
constexpr const char * GetDataTypeName(DataType dataType)
std::ostream & operator<<(std::ostream &os, const std::vector< Compute > &compute)
constexpr char const * GetStatusAsCString(Status status)
constexpr bool IsQuantized8BitType(DataType dataType)
#define ARMNN_NO_DEPRECATE_WARN_END