49 #pragma omp parallel for SimpleTensor< T > activation_layer(const SimpleTensor< T > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info)
SimpleTensor< uint8_t > activation_layer< uint8_t >(const SimpleTensor< uint8_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info)
float a() const
Get the alpha value.
SimpleTensor< int16_t > activation_layer< int16_t >(const SimpleTensor< int16_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info)
DataType data_type() const override
Data type of the tensor.
SimpleTensor< float > convert_from_asymmetric(const SimpleTensor< uint8_t > &src)
TensorShape shape() const override
Shape of the tensor.
Activation Layer Information class.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
Quantization information.
SimpleTensor< int8_t > activation_layer< int8_t >(const SimpleTensor< int8_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info)
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
Simple tensor object that stores elements in a consecutive chunk of memory.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
bool empty() const
Indicates whether this QuantizationInfo has valid settings or not.
int num_elements() const override
Number of elements of the tensor.
ActivationFunction activation() const
Get the type of activation function.
float b() const
Get the beta value.
QuantizationInfo quantization_info() const override
Quantization info in case of asymmetric quantized type.
SimpleTensor< float > convert_from_symmetric(const SimpleTensor< int16_t > &src)