|
24.07
|
Enumerations | |
| enum | ArithmeticOperation { ADD, SUB } |
| Arithmetic operation types. More... | |
| enum | FFTDirection { Forward, Inverse } |
| enum | WinogradTransformType { INPUT, FILTER, OUTPUT } |
| Winograd transform type. More... | |
Functions | |
| template<typename T > | |
| SimpleTensor< T > | absolute_difference (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2, DataType dst_data_type) |
| template SimpleTensor< uint8_t > | absolute_difference (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2, DataType dst_data_type) |
| template SimpleTensor< int16_t > | absolute_difference (const SimpleTensor< int16_t > &src1, const SimpleTensor< int16_t > &src2, DataType dst_data_type) |
| template SimpleTensor< int8_t > | absolute_difference (const SimpleTensor< int8_t > &src1, const SimpleTensor< int8_t > &src2, DataType dst_data_type) |
| template<typename T1 , typename T2 > | |
| SimpleTensor< T2 > | accumulate (const SimpleTensor< T1 > &src, DataType output_data_type) |
| template<typename T1 , typename T2 > | |
| SimpleTensor< T2 > | accumulate_weighted (const SimpleTensor< T1 > &src, float alpha, DataType output_data_type) |
| template<typename T1 , typename T2 > | |
| SimpleTensor< T2 > | accumulate_squared (const SimpleTensor< T1 > &src, uint32_t shift, DataType output_data_type) |
| template SimpleTensor< int16_t > | accumulate (const SimpleTensor< uint8_t > &src, DataType output_data_type) |
| template SimpleTensor< uint8_t > | accumulate_weighted (const SimpleTensor< uint8_t > &src, float alpha, DataType output_data_type) |
| template SimpleTensor< int16_t > | accumulate_squared (const SimpleTensor< uint8_t > &src, uint32_t shift, DataType output_data_type) |
| template<typename T > | |
| SimpleTensor< T > | activation_layer (const SimpleTensor< T > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template<> | |
| SimpleTensor< uint8_t > | activation_layer< uint8_t > (const SimpleTensor< uint8_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template<> | |
| SimpleTensor< int8_t > | activation_layer< int8_t > (const SimpleTensor< int8_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template<> | |
| SimpleTensor< int16_t > | activation_layer< int16_t > (const SimpleTensor< int16_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template SimpleTensor< int32_t > | activation_layer (const SimpleTensor< int32_t > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template SimpleTensor< float > | activation_layer (const SimpleTensor< float > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template SimpleTensor< half > | activation_layer (const SimpleTensor< half > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template SimpleTensor< bfloat16 > | activation_layer (const SimpleTensor< bfloat16 > &src, ActivationLayerInfo info, const QuantizationInfo &oq_info) |
| template<typename T > | |
| T | activate_float (T x, T a, T b, ActivationLayerInfo::ActivationFunction activation) |
| template<typename T > | |
| SimpleTensor< T > | arithmetic_division (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2, DataType data_type) |
| template SimpleTensor< half > | arithmetic_division (const SimpleTensor< half > &src1, const SimpleTensor< half > &src2, DataType data_type) |
| template SimpleTensor< float > | arithmetic_division (const SimpleTensor< float > &src1, const SimpleTensor< float > &src2, DataType data_type) |
| template<typename T > | |
| SimpleTensor< T > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< T > &src1, const SimpleTensor< T > &src2, SimpleTensor< T > &dst, ConvertPolicy convert_policy) |
| template<> | |
| SimpleTensor< uint8_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2, SimpleTensor< uint8_t > &dst, ConvertPolicy convert_policy) |
| template<> | |
| SimpleTensor< int8_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< int8_t > &src1, const SimpleTensor< int8_t > &src2, SimpleTensor< int8_t > &dst, ConvertPolicy convert_policy) |
| template<> | |
| SimpleTensor< int16_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< int16_t > &src1, const SimpleTensor< int16_t > &src2, SimpleTensor< int16_t > &dst, ConvertPolicy convert_policy) |
| template SimpleTensor< int32_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< int32_t > &src1, const SimpleTensor< int32_t > &src2, SimpleTensor< int32_t > &dst, ConvertPolicy convert_policy) |
| template SimpleTensor< half > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< half > &src1, const SimpleTensor< half > &src2, SimpleTensor< half > &dst, ConvertPolicy convert_policy) |
| template SimpleTensor< float > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< float > &src1, const SimpleTensor< float > &src2, SimpleTensor< float > &dst, ConvertPolicy convert_policy) |
| template<typename T > | |
| SimpleTensor< T > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< T > &src1, const SimpleTensor< T > &src2, DataType dst_data_type, ConvertPolicy convert_policy) |
| template SimpleTensor< int32_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< int32_t > &src1, const SimpleTensor< int32_t > &src2, DataType dst_data_type, ConvertPolicy convert_policy) |
| template SimpleTensor< int16_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< int16_t > &src1, const SimpleTensor< int16_t > &src2, DataType dst_data_type, ConvertPolicy convert_policy) |
| template SimpleTensor< int8_t > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< int8_t > &src1, const SimpleTensor< int8_t > &src2, DataType dst_data_type, ConvertPolicy convert_policy) |
| template SimpleTensor< half > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< half > &src1, const SimpleTensor< half > &src2, DataType dst_data_type, ConvertPolicy convert_policy) |
| template SimpleTensor< float > | arithmetic_operation (ArithmeticOperation op, const SimpleTensor< float > &src1, const SimpleTensor< float > &src2, DataType dst_data_type, ConvertPolicy convert_policy) |
| template<typename T , typename std::enable_if< is_floating_point< T >::value, int >::type * > | |
| SimpleTensor< T > | batch_normalization_layer (const SimpleTensor< T > &src, const SimpleTensor< T > &mean, const SimpleTensor< T > &var, const SimpleTensor< T > &beta, const SimpleTensor< T > &gamma, float epsilon, ActivationLayerInfo act_info) |
| template SimpleTensor< float > | batch_normalization_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &mean, const SimpleTensor< float > &var, const SimpleTensor< float > &beta, const SimpleTensor< float > &gamma, float epsilon, ActivationLayerInfo act_info) |
| template SimpleTensor< half > | batch_normalization_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &mean, const SimpleTensor< half > &var, const SimpleTensor< half > &beta, const SimpleTensor< half > &gamma, float epsilon, ActivationLayerInfo act_info) |
| template<typename T > | |
| SimpleTensor< T > | batch_to_space (const SimpleTensor< T > &src, const std::vector< int32_t > &block_shape, const CropInfo &crop_info, const TensorShape &dst_shape) |
| template SimpleTensor< float > | batch_to_space (const SimpleTensor< float > &src, const std::vector< int32_t > &block_shape, const CropInfo &crop_info, const TensorShape &dst_shape) |
| template SimpleTensor< half > | batch_to_space (const SimpleTensor< half > &src, const std::vector< int32_t > &block_shape, const CropInfo &crop_info, const TensorShape &dst_shape) |
| template<typename T > | |
| SimpleTensor< T > | bitwise_and (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2) |
| template SimpleTensor< uint8_t > | bitwise_and (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2) |
| template<typename T > | |
| SimpleTensor< T > | bitwise_not (const SimpleTensor< T > &src) |
| template SimpleTensor< uint8_t > | bitwise_not (const SimpleTensor< uint8_t > &src) |
| template<typename T > | |
| SimpleTensor< T > | bitwise_or (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2) |
| template SimpleTensor< uint8_t > | bitwise_or (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2) |
| template<typename T > | |
| SimpleTensor< T > | bitwise_xor (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2) |
| template SimpleTensor< uint8_t > | bitwise_xor (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2) |
| template<typename T , typename TDeltas > | |
| SimpleTensor< T > | bounding_box_transform (const SimpleTensor< T > &boxes, const SimpleTensor< TDeltas > &deltas, const BoundingBoxTransformInfo &info) |
| template SimpleTensor< float > | bounding_box_transform (const SimpleTensor< float > &boxes, const SimpleTensor< float > &deltas, const BoundingBoxTransformInfo &info) |
| template SimpleTensor< half > | bounding_box_transform (const SimpleTensor< half > &boxes, const SimpleTensor< half > &deltas, const BoundingBoxTransformInfo &info) |
| template<> | |
| SimpleTensor< uint16_t > | bounding_box_transform (const SimpleTensor< uint16_t > &boxes, const SimpleTensor< uint8_t > &deltas, const BoundingBoxTransformInfo &info) |
| template<typename T > | |
| SimpleTensor< T > | channel_shuffle (const SimpleTensor< T > &src, int num_groups) |
| template SimpleTensor< uint8_t > | channel_shuffle (const SimpleTensor< uint8_t > &src, int num_groups) |
| template SimpleTensor< uint16_t > | channel_shuffle (const SimpleTensor< uint16_t > &src, int num_groups) |
| template SimpleTensor< uint32_t > | channel_shuffle (const SimpleTensor< uint32_t > &src, int num_groups) |
| template SimpleTensor< half > | channel_shuffle (const SimpleTensor< half > &src, int num_groups) |
| template SimpleTensor< float > | channel_shuffle (const SimpleTensor< float > &src, int num_groups) |
| template<typename T > | |
| SimpleTensor< T > | col2im (const SimpleTensor< T > &src, const TensorShape &dst_shape, unsigned int num_groups) |
| template SimpleTensor< float > | col2im (const SimpleTensor< float > &src, const TensorShape &dst_shape, unsigned int num_groups) |
| template SimpleTensor< half > | col2im (const SimpleTensor< half > &src, const TensorShape &dst_shape, unsigned int num_groups) |
| template SimpleTensor< uint8_t > | col2im (const SimpleTensor< uint8_t > &src, const TensorShape &dst_shape, unsigned int num_groups) |
| template<typename T > | |
| SimpleTensor< uint8_t > | compare (ComparisonOperation op, const SimpleTensor< T > &src1, const SimpleTensor< T > &src2) |
| template<> | |
| SimpleTensor< uint8_t > | compare (ComparisonOperation op, const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2) |
| template<> | |
| SimpleTensor< uint8_t > | compare (ComparisonOperation op, const SimpleTensor< int8_t > &src1, const SimpleTensor< int8_t > &src2) |
| template SimpleTensor< uint8_t > | compare (ComparisonOperation op, const SimpleTensor< half > &src1, const SimpleTensor< half > &src2) |
| template SimpleTensor< uint8_t > | compare (ComparisonOperation op, const SimpleTensor< float > &src1, const SimpleTensor< float > &src2) |
| template<typename T > | |
| SimpleTensor< T > | compute_all_anchors (const SimpleTensor< T > &anchors, const ComputeAnchorsInfo &info) |
| template SimpleTensor< float > | compute_all_anchors (const SimpleTensor< float > &anchors, const ComputeAnchorsInfo &info) |
| template SimpleTensor< half > | compute_all_anchors (const SimpleTensor< half > &anchors, const ComputeAnchorsInfo &info) |
| template<> | |
| SimpleTensor< int16_t > | compute_all_anchors (const SimpleTensor< int16_t > &anchors, const ComputeAnchorsInfo &info) |
| template<typename T > | |
| SimpleTensor< T > | concatenate_layer (std::vector< SimpleTensor< T >> &srcs, SimpleTensor< T > &dst, unsigned int axis) |
| template SimpleTensor< float > | concatenate_layer (std::vector< SimpleTensor< float >> &srcs, SimpleTensor< float > &dst, unsigned int axis) |
| template SimpleTensor< half > | concatenate_layer (std::vector< SimpleTensor< half >> &srcs, SimpleTensor< half > &dst, unsigned int axis) |
| template SimpleTensor< uint8_t > | concatenate_layer (std::vector< SimpleTensor< uint8_t >> &srcs, SimpleTensor< uint8_t > &dst, unsigned int axis) |
| template SimpleTensor< int8_t > | concatenate_layer (std::vector< SimpleTensor< int8_t >> &srcs, SimpleTensor< int8_t > &dst, unsigned int axis) |
| template<typename T , typename TB , typename TACC = T> | |
| SimpleTensor< T > | conv3d (const SimpleTensor< T > &src, const SimpleTensor< T > &weights, const SimpleTensor< TB > &bias, SimpleTensor< T > &dst, const Conv3dInfo &conv3d_info) |
| template SimpleTensor< float > | conv3d< float, float, float > (const SimpleTensor< float > &src, const SimpleTensor< float > &weights, const SimpleTensor< float > &bias, SimpleTensor< float > &dst, const Conv3dInfo &conv3d_info) |
| template SimpleTensor< half > | conv3d< half, half, float > (const SimpleTensor< half > &src, const SimpleTensor< half > &weights, const SimpleTensor< half > &bias, SimpleTensor< half > &dst, const Conv3dInfo &conv3d_info) |
| template SimpleTensor< uint8_t > | conv3d< uint8_t, int32_t, int32_t > (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &weights, const SimpleTensor< int32_t > &bias, SimpleTensor< uint8_t > &dst, const Conv3dInfo &conv3d_info) |
| template SimpleTensor< int8_t > | conv3d< int8_t, int32_t, int32_t > (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &bias, SimpleTensor< int8_t > &dst, const Conv3dInfo &conv3d_info) |
| template<typename T > | |
| SimpleTensor< T > | convert_fully_connected_weights (const SimpleTensor< T > &src, const TensorShape &original_input_shape, const DataLayout training_data_layout) |
| template SimpleTensor< uint8_t > | convert_fully_connected_weights (const SimpleTensor< uint8_t > &src, const TensorShape &original_input_shape, const DataLayout training_data_layout) |
| template SimpleTensor< half > | convert_fully_connected_weights (const SimpleTensor< half > &src, const TensorShape &original_input_shape, const DataLayout training_data_layout) |
| template SimpleTensor< float > | convert_fully_connected_weights (const SimpleTensor< float > &src, const TensorShape &original_input_shape, const DataLayout training_data_layout) |
| template<typename T , typename TW , typename TB > | |
| SimpleTensor< T > | convolution_layer_nchw (const SimpleTensor< T > &src, const SimpleTensor< TW > &weights, const SimpleTensor< TB > &bias, SimpleTensor< T > &dst, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups) |
| template<typename T , typename TW , typename TB > | |
| SimpleTensor< T > | convolution_layer (const SimpleTensor< T > &src, const SimpleTensor< TW > &weights, const SimpleTensor< TB > &bias, const TensorShape &output_shape, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups, QuantizationInfo out_quant_info) |
| template SimpleTensor< float > | convolution_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &weights, const SimpleTensor< float > &bias, const TensorShape &output_shape, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups, QuantizationInfo out_quant_info) |
| template SimpleTensor< half > | convolution_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &weights, const SimpleTensor< half > &bias, const TensorShape &output_shape, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups, QuantizationInfo out_quant_info) |
| template SimpleTensor< uint8_t > | convolution_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &output_shape, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups, QuantizationInfo out_quant_info) |
| template SimpleTensor< uint8_t > | convolution_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &output_shape, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups, QuantizationInfo out_quant_info) |
| template SimpleTensor< int8_t > | convolution_layer (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &output_shape, const PadStrideInfo &info, const Size2D &dilation, unsigned int num_groups, QuantizationInfo out_quant_info) |
| template<typename T > | |
| SimpleTensor< T > | copy (const SimpleTensor< T > &src, const TensorShape &output_shape) |
| template SimpleTensor< uint8_t > | copy (const SimpleTensor< uint8_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< int8_t > | copy (const SimpleTensor< int8_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< uint16_t > | copy (const SimpleTensor< uint16_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< int16_t > | copy (const SimpleTensor< int16_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< uint32_t > | copy (const SimpleTensor< uint32_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< int32_t > | copy (const SimpleTensor< int32_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< half > | copy (const SimpleTensor< half > &src, const TensorShape &output_shape) |
| template SimpleTensor< float > | copy (const SimpleTensor< float > &src, const TensorShape &output_shape) |
| template<typename T > | |
| SimpleTensor< float > | crop_and_resize (const SimpleTensor< T > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< float > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< uint16_t > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< uint32_t > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< int16_t > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< int32_t > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< half > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template SimpleTensor< float > | crop_and_resize (const SimpleTensor< uint8_t > &src, const SimpleTensor< float > &boxes, SimpleTensor< int32_t > box_ind, Coordinates2D crop_size, InterpolationPolicy method, float extrapolation_value) |
| template<typename T , typename TW , typename TB > | |
| SimpleTensor< T > | deconvolution_layer (const SimpleTensor< T > &src, const SimpleTensor< TW > &weights, const SimpleTensor< TB > &bias, const TensorShape &output_shape, const PadStrideInfo &info, QuantizationInfo out_qinfo=QuantizationInfo()) |
| Deconvolution reference implementation. More... | |
| template SimpleTensor< uint8_t > | deconvolution_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &output_shape, const PadStrideInfo &info, QuantizationInfo out_quant_info) |
| template SimpleTensor< uint8_t > | deconvolution_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &output_shape, const PadStrideInfo &info, QuantizationInfo out_quant_info) |
| template SimpleTensor< int8_t > | deconvolution_layer (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &output_shape, const PadStrideInfo &info, QuantizationInfo out_quant_info) |
| template SimpleTensor< float > | deconvolution_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &weights, const SimpleTensor< float > &bias, const TensorShape &output_shape, const PadStrideInfo &info, QuantizationInfo out_quant_info) |
| template SimpleTensor< half > | deconvolution_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &weights, const SimpleTensor< half > &bias, const TensorShape &output_shape, const PadStrideInfo &info, QuantizationInfo out_quant_info) |
| template<typename T > | |
| SimpleTensor< T > | depthconcatenate_layer (const std::vector< SimpleTensor< T >> &srcs, SimpleTensor< T > &dst) |
| template SimpleTensor< uint8_t > | depthconcatenate_layer (const std::vector< SimpleTensor< uint8_t >> &srcs, SimpleTensor< uint8_t > &dst) |
| template SimpleTensor< float > | depthconcatenate_layer (const std::vector< SimpleTensor< float >> &srcs, SimpleTensor< float > &dst) |
| template SimpleTensor< half > | depthconcatenate_layer (const std::vector< SimpleTensor< half >> &srcs, SimpleTensor< half > &dst) |
| template<typename T1 , typename T2 , typename std::enable_if< std::is_integral< T1 >::value &&!std::is_same< T1, T2 >::value, int >::type > | |
| SimpleTensor< T2 > | depth_convert (const SimpleTensor< T1 > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< int8_t > | depth_convert (const SimpleTensor< uint8_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< int8_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< uint16_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< int16_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< uint32_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< int32_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< bfloat16 > | depth_convert (const SimpleTensor< bfloat16 > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< half > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< float > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< int64_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template SimpleTensor< uint8_t > | depth_convert (const SimpleTensor< uint64_t > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift) |
| template<typename T > | |
| SimpleTensor< T > | depth_to_space (const SimpleTensor< T > &src, const TensorShape &dst_shape, int32_t block_shape) |
| template SimpleTensor< float > | depth_to_space (const SimpleTensor< float > &src, const TensorShape &dst_shape, int32_t block_shape) |
| template SimpleTensor< half > | depth_to_space (const SimpleTensor< half > &src, const TensorShape &dst_shape, int32_t block_shape) |
| template<> | |
| SimpleTensor< float > | depthwise_convolution (const SimpleTensor< float > &src, const SimpleTensor< float > &weights, const SimpleTensor< float > &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation, const QuantizationInfo &out_quant_info) |
| template<> | |
| SimpleTensor< half > | depthwise_convolution (const SimpleTensor< half > &src, const SimpleTensor< half > &weights, const SimpleTensor< half > &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation, const QuantizationInfo &out_quant_info) |
| template<> | |
| SimpleTensor< uint8_t > | depthwise_convolution (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &weights, const SimpleTensor< int32_t > &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation, const QuantizationInfo &out_quant_info) |
| template<> | |
| SimpleTensor< uint8_t > | depthwise_convolution (const SimpleTensor< uint8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation, const QuantizationInfo &out_quant_info) |
| template<> | |
| SimpleTensor< int8_t > | depthwise_convolution (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation, const QuantizationInfo &out_quant_info) |
| template<typename T , typename TW , typename TB > | |
| SimpleTensor< T > | depthwise_convolution (const SimpleTensor< T > &src, const SimpleTensor< TW > &weights, const SimpleTensor< TB > &biases, const TensorShape &dst_shape, const PadStrideInfo &conv_info, unsigned int depth_multiplier, const Size2D &dilation=Size2D(1U, 1U), const QuantizationInfo &out_quant_info=QuantizationInfo(0.0f, 0)) |
| template<typename T > | |
| SimpleTensor< T > | depthwise_separable_convolution_layer (const SimpleTensor< T > &src, const SimpleTensor< T > &depthwise_weights, const SimpleTensor< T > &depthwise_biases, const TensorShape &depthwise_out_shape, const SimpleTensor< T > &pointwise_weights, const SimpleTensor< T > &pointwise_biases, const TensorShape &dst_shape, const PadStrideInfo &depthwise_conv_info, const PadStrideInfo &pointwise_conv_info) |
| template<typename TOut , typename TIn > | |
| SimpleTensor< TOut > | dequantization_layer (const SimpleTensor< TIn > &src) |
| template SimpleTensor< half > | dequantization_layer (const SimpleTensor< uint8_t > &src) |
| template SimpleTensor< half > | dequantization_layer (const SimpleTensor< int8_t > &src) |
| template SimpleTensor< half > | dequantization_layer (const SimpleTensor< int16_t > &src) |
| template SimpleTensor< float > | dequantization_layer (const SimpleTensor< int32_t > &src) |
| template<typename T > | |
| SimpleTensor< T > | rdft_1d (const SimpleTensor< T > &src) |
| Performs an one dimensional DFT on a real input. More... | |
| template<typename T > | |
| SimpleTensor< T > | ridft_1d (const SimpleTensor< T > &src, bool is_odd=false) |
| Performs an one dimensional inverse DFT on a real input. More... | |
| template<typename T > | |
| SimpleTensor< T > | dft_1d (const SimpleTensor< T > &src, FFTDirection direction) |
| Performs an one dimensional DFT on a complex input. More... | |
| template<typename T > | |
| SimpleTensor< T > | rdft_2d (const SimpleTensor< T > &src) |
| Performs a two dimensional DFT on a real input. More... | |
| template<typename T > | |
| SimpleTensor< T > | ridft_2d (const SimpleTensor< T > &src, bool is_odd=false) |
| Performs a two dimensional inverse DFT on a real input. More... | |
| template<typename T > | |
| SimpleTensor< T > | dft_2d (const SimpleTensor< T > &src, FFTDirection direction) |
| Performs a two dimensional DFT on a complex input. More... | |
| template<typename T > | |
| SimpleTensor< T > | conv2d_dft (const SimpleTensor< T > &src, const SimpleTensor< T > &w, const PadStrideInfo &conv_info) |
| Performs and DFT based convolution on a real input. More... | |
| template SimpleTensor< float > | rdft_1d (const SimpleTensor< float > &src) |
| template SimpleTensor< float > | ridft_1d (const SimpleTensor< float > &src, bool is_odd) |
| template SimpleTensor< float > | dft_1d (const SimpleTensor< float > &src, FFTDirection direction) |
| template SimpleTensor< float > | rdft_2d (const SimpleTensor< float > &src) |
| template SimpleTensor< float > | ridft_2d (const SimpleTensor< float > &src, bool is_odd) |
| template SimpleTensor< float > | dft_2d (const SimpleTensor< float > &src, FFTDirection direction) |
| template SimpleTensor< float > | conv2d_dft (const SimpleTensor< float > &src, const SimpleTensor< float > &w, const PadStrideInfo &conv_info) |
| template SimpleTensor< half > | rdft_1d (const SimpleTensor< half > &src) |
| template SimpleTensor< half > | ridft_1d (const SimpleTensor< half > &src, bool is_odd) |
| template SimpleTensor< half > | dft_1d (const SimpleTensor< half > &src, FFTDirection direction) |
| template SimpleTensor< half > | rdft_2d (const SimpleTensor< half > &src) |
| template SimpleTensor< half > | ridft_2d (const SimpleTensor< half > &src, bool is_odd) |
| template SimpleTensor< half > | dft_2d (const SimpleTensor< half > &src, FFTDirection direction) |
| template SimpleTensor< half > | conv2d_dft (const SimpleTensor< half > &src, const SimpleTensor< half > &w, const PadStrideInfo &conv_info) |
| template<typename T > | |
| SimpleTensor< T > | elementwise_unary (const SimpleTensor< T > &src, SimpleTensor< T > &dst, ElementWiseUnary op) |
| template<> | |
| SimpleTensor< int8_t > | elementwise_unary (const SimpleTensor< int8_t > &src, SimpleTensor< int8_t > &dst, ElementWiseUnary op) |
| template<> | |
| SimpleTensor< uint8_t > | elementwise_unary (const SimpleTensor< uint8_t > &src, SimpleTensor< uint8_t > &dst, ElementWiseUnary op) |
| template SimpleTensor< float > | elementwise_unary (const SimpleTensor< float > &src, SimpleTensor< float > &dst, ElementWiseUnary op) |
| template SimpleTensor< half > | elementwise_unary (const SimpleTensor< half > &src, SimpleTensor< half > &dst, ElementWiseUnary op) |
| template SimpleTensor< int32_t > | elementwise_unary (const SimpleTensor< int32_t > &src, SimpleTensor< int32_t > &dst, ElementWiseUnary op) |
| template<typename T > | |
| SimpleTensor< T > | erode (const SimpleTensor< T > &src, BorderMode border_mode, T constant_border_value) |
| template SimpleTensor< uint8_t > | erode (const SimpleTensor< uint8_t > &src, BorderMode border_mode, uint8_t constant_border_value) |
| template<typename T > | |
| SimpleTensor< T > | flatten_layer (const SimpleTensor< T > &src, const TensorShape &shape_flatten) |
| template SimpleTensor< float > | flatten_layer (const SimpleTensor< float > &src, const TensorShape &shape_flatten) |
| template SimpleTensor< half > | flatten_layer (const SimpleTensor< half > &src, const TensorShape &shape_flatten) |
| template<typename T > | |
| SimpleTensor< T > | floor_layer (const SimpleTensor< T > &src) |
| template SimpleTensor< half > | floor_layer (const SimpleTensor< half > &src) |
| template SimpleTensor< float > | floor_layer (const SimpleTensor< float > &src) |
| template<typename T , typename TB > | |
| SimpleTensor< T > | fully_connected_layer (const SimpleTensor< T > &src, const SimpleTensor< T > &weights, const SimpleTensor< TB > &bias, const TensorShape &dst_shape, QuantizationInfo out_quant_info) |
| template SimpleTensor< float > | fully_connected_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &weights, const SimpleTensor< float > &bias, const TensorShape &dst_shape, QuantizationInfo out_quant_info) |
| template SimpleTensor< half > | fully_connected_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &weights, const SimpleTensor< half > &bias, const TensorShape &dst_shape, QuantizationInfo out_quant_info) |
| template SimpleTensor< uint8_t > | fully_connected_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &dst_shape, QuantizationInfo out_quant_info) |
| template SimpleTensor< int8_t > | fully_connected_layer (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &weights, const SimpleTensor< int32_t > &bias, const TensorShape &dst_shape, QuantizationInfo out_quant_info) |
| template<typename T > | |
| void | fuse_batch_normalization_dwc_layer (const SimpleTensor< T > &w, const SimpleTensor< T > &mean, const SimpleTensor< T > &var, SimpleTensor< T > &w_fused, SimpleTensor< T > &b_fused, const SimpleTensor< T > &b, const SimpleTensor< T > &beta, const SimpleTensor< T > &gamma, float epsilon) |
| template<typename T > | |
| void | fuse_batch_normalization_conv_layer (const SimpleTensor< T > &w, const SimpleTensor< T > &mean, const SimpleTensor< T > &var, SimpleTensor< T > &w_fused, SimpleTensor< T > &b_fused, const SimpleTensor< T > &b, const SimpleTensor< T > &beta, const SimpleTensor< T > &gamma, float epsilon) |
| template void | fuse_batch_normalization_dwc_layer (const SimpleTensor< float > &w, const SimpleTensor< float > &mean, const SimpleTensor< float > &var, SimpleTensor< float > &w_fused, SimpleTensor< float > &b_fused, const SimpleTensor< float > &b, const SimpleTensor< float > &beta, const SimpleTensor< float > &gamma, float epsilon) |
| template void | fuse_batch_normalization_dwc_layer (const SimpleTensor< half > &w, const SimpleTensor< half > &mean, const SimpleTensor< half > &var, SimpleTensor< half > &w_fused, SimpleTensor< half > &b_fused, const SimpleTensor< half > &b, const SimpleTensor< half > &beta, const SimpleTensor< half > &gamma, float epsilon) |
| template void | fuse_batch_normalization_conv_layer (const SimpleTensor< float > &w, const SimpleTensor< float > &mean, const SimpleTensor< float > &var, SimpleTensor< float > &w_fused, SimpleTensor< float > &b_fused, const SimpleTensor< float > &b, const SimpleTensor< float > &beta, const SimpleTensor< float > &gamma, float epsilon) |
| template void | fuse_batch_normalization_conv_layer (const SimpleTensor< half > &w, const SimpleTensor< half > &mean, const SimpleTensor< half > &var, SimpleTensor< half > &w_fused, SimpleTensor< half > &b_fused, const SimpleTensor< half > &b, const SimpleTensor< half > &beta, const SimpleTensor< half > &gamma, float epsilon) |
| template<typename T > | |
| SimpleTensor< T > | gather (const SimpleTensor< T > &src, const SimpleTensor< uint32_t > &indices, uint32_t actual_axis) |
| template SimpleTensor< float > | gather (const SimpleTensor< float > &src, const SimpleTensor< uint32_t > &indices, uint32_t actual_axis) |
| template SimpleTensor< half > | gather (const SimpleTensor< half > &src, const SimpleTensor< uint32_t > &indices, uint32_t actual_axis) |
| template SimpleTensor< uint16_t > | gather (const SimpleTensor< uint16_t > &src, const SimpleTensor< uint32_t > &indices, uint32_t actual_axis) |
| template SimpleTensor< uint8_t > | gather (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint32_t > &indices, uint32_t actual_axis) |
| template<typename T , typename std::enable_if< is_floating_point< T >::value, int >::type > | |
| SimpleTensor< T > | gemm (const SimpleTensor< T > &a, const SimpleTensor< T > &b, const SimpleTensor< T > &c, float alpha, float beta) |
| template<typename T , typename std::enable_if< is_floating_point< T >::value, int >::type > | |
| SimpleTensor< T > | gemm_mixed_precision (const SimpleTensor< T > &a, const SimpleTensor< T > &b, const SimpleTensor< T > &c, float alpha, float beta) |
| template<typename T , typename std::enable_if< is_floating_point< T >::value, int >::type > | |
| void | gemm_accumulate (const SimpleTensor< T > &a, const SimpleTensor< T > &b, const SimpleTensor< T > &c, float alpha, float beta, SimpleTensor< T > &dst) |
| template SimpleTensor< bfloat16 > | gemm (const SimpleTensor< bfloat16 > &a, const SimpleTensor< bfloat16 > &b, const SimpleTensor< bfloat16 > &c, float alpha, float beta) |
| template SimpleTensor< float > | gemm (const SimpleTensor< float > &a, const SimpleTensor< float > &b, const SimpleTensor< float > &c, float alpha, float beta) |
| template SimpleTensor< half > | gemm (const SimpleTensor< half > &a, const SimpleTensor< half > &b, const SimpleTensor< half > &c, float alpha, float beta) |
| template void | gemm_accumulate (const SimpleTensor< float > &a, const SimpleTensor< float > &b, const SimpleTensor< float > &c, float alpha, float beta, SimpleTensor< float > &dst) |
| template void | gemm_accumulate (const SimpleTensor< half > &a, const SimpleTensor< half > &b, const SimpleTensor< half > &c, float alpha, float beta, SimpleTensor< half > &dst) |
| template SimpleTensor< half > | gemm_mixed_precision (const SimpleTensor< half > &a, const SimpleTensor< half > &b, const SimpleTensor< half > &c, float alpha, float beta) |
| template<typename T > | |
| SimpleTensor< T > | gemm_interleave_4x4 (const SimpleTensor< T > &in, SimpleTensor< T > &out) |
| template<typename T > | |
| T | safe_read (const SimpleTensor< T > &t, int y, int x) |
| template<typename T > | |
| SimpleTensor< T > | gemm_interleave_blocked (const SimpleTensor< T > &in, SimpleTensor< T > &out, int int_by, int block, bool transposed) |
| template SimpleTensor< uint8_t > | gemm_interleave_blocked (const SimpleTensor< uint8_t > &in, SimpleTensor< uint8_t > &out, int int_by, int block, bool transposed) |
| template<typename T_out , typename T_in , typename T_in_1 > | |
| SimpleTensor< T_out > | gemmlowp_matrix_multiply_core (const SimpleTensor< T_in > &a, const SimpleTensor< T_in_1 > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset) |
| template<typename T_out , typename T_in , typename T_in_1 > | |
| void | gemmlowp_matrix_multiply_core_accumulate (const SimpleTensor< T_in > &a, const SimpleTensor< T_in_1 > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset, SimpleTensor< T_out > &dst) |
| template<typename T1 , typename T2 , typename T3 > | |
| SimpleTensor< T1 > | gemmlowp (const SimpleTensor< T2 > &a, const SimpleTensor< T3 > &b, TensorShape shape_c) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< TOut > | gemmlowp_quantize_down_scale (const SimpleTensor< TIn > &in, int32_t result_offset, std::vector< int32_t > result_mult_int, std::vector< int32_t > result_shift, int32_t min, int32_t max) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< TOut > | gemmlowp_quantize_down_scale (const SimpleTensor< TIn > &in, const SimpleTensor< TIn > &bias, int32_t result_offset, std::vector< int32_t > result_mult_int, std::vector< int32_t > result_shift, int32_t min, int32_t max) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< TOut > | gemmlowp_quantize_down_scale_by_fixedpoint (const SimpleTensor< TIn > &in, std::vector< int32_t > result_fixedpoint_multiplier, std::vector< int32_t > result_shift, int32_t result_offset_after_shift, int32_t min, int32_t max) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< TOut > | gemmlowp_quantize_down_scale_by_fixedpoint (const SimpleTensor< TIn > &in, const SimpleTensor< TIn > &bias, std::vector< int32_t > result_fixedpoint_multiplier, std::vector< int32_t > result_shift, int32_t result_offset_after_shift, int32_t min, int32_t max) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< TOut > | gemmlowp_quantize_down_scale_by_float (const SimpleTensor< TIn > &in, const SimpleTensor< TIn > &bias, std::vector< float_t > result_real_multiplier, int32_t result_offset, int32_t min, int32_t max) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< TOut > | gemmlowp_quantize_down_scale_by_float (const SimpleTensor< TIn > &in, std::vector< float_t > result_real_multiplier, int32_t result_offset, int32_t min, int32_t max) |
| template SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale_by_float (const SimpleTensor< int32_t > &a, const SimpleTensor< int32_t > &b, std::vector< float_t > result_real_multiplier, int32_t result_offset, int32_t min, int32_t max) |
| template SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale_by_float (const SimpleTensor< int32_t > &a, std::vector< float_t > result_real_multiplier, int32_t result_offset, int32_t min, int32_t max) |
| template SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale_by_fixedpoint (const SimpleTensor< int32_t > &a, std::vector< int32_t > result_fixedpoint_multiplier, std::vector< int32_t > result_shift, int32_t result_offset_after_shift, int32_t min, int32_t max) |
| template SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale_by_fixedpoint (const SimpleTensor< int32_t > &a, const SimpleTensor< int32_t > &b, std::vector< int32_t > result_fixedpoint_multiplier, std::vector< int32_t > result_shift, int32_t result_offset_after_shift, int32_t min, int32_t max) |
| template SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale (const SimpleTensor< int32_t > &a, int32_t result_offset, std::vector< int32_t > result_mult_int, std::vector< int32_t > result_shift, int32_t min, int32_t max) |
| template SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale (const SimpleTensor< int32_t > &a, const SimpleTensor< int32_t > &b, int32_t result_offset, std::vector< int32_t > result_mult_int, std::vector< int32_t > result_shift, int32_t min, int32_t max) |
| template SimpleTensor< int32_t > | gemmlowp_matrix_multiply_core (const SimpleTensor< int8_t > &a, const SimpleTensor< int8_t > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset) |
| template SimpleTensor< int32_t > | gemmlowp_matrix_multiply_core (const SimpleTensor< uint8_t > &a, const SimpleTensor< uint8_t > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset) |
| template void | gemmlowp_matrix_multiply_core_accumulate (const SimpleTensor< int8_t > &a, const SimpleTensor< int8_t > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset, SimpleTensor< int32_t > &dst) |
| template void | gemmlowp_matrix_multiply_core_accumulate (const SimpleTensor< uint8_t > &a, const SimpleTensor< uint8_t > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset, SimpleTensor< int32_t > &dst) |
| template SimpleTensor< int32_t > | gemmlowp< int32_t, int8_t, int8_t > (const SimpleTensor< int8_t > &a, const SimpleTensor< int8_t > &b, TensorShape shape_c) |
| template SimpleTensor< int32_t > | gemmlowp< int32_t, uint8_t, uint8_t > (const SimpleTensor< uint8_t > &a, const SimpleTensor< uint8_t > &b, TensorShape shape_c) |
| template SimpleTensor< int32_t > | gemmlowp< int32_t, uint8_t, int8_t > (const SimpleTensor< uint8_t > &a, const SimpleTensor< int8_t > &b, TensorShape shape_c) |
| template<typename T1 , typename T2 , typename T3 > | |
| SimpleTensor< T1 > | gemmlowp_matrix_multiply_core (const SimpleTensor< T2 > &a, const SimpleTensor< T3 > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset) |
| template<typename T1 , typename T2 , typename T3 > | |
| void | gemmlowp_matrix_multiply_core_accumulate (const SimpleTensor< T2 > &a, const SimpleTensor< T3 > &b, TensorShape shape_c, int32_t a_offset, int32_t b_offset, SimpleTensor< T1 > &dst_) |
| template<typename TIn , typename TOut > | |
| SimpleTensor< uint8_t > | gemmlowp_quantize_down_scale (const SimpleTensor< TIn > &in, int32_t result_offset, std::vector< int32_t > result_mult_int, std::vector< int32_t > result_shift) |
| template<typename T > | |
| SimpleTensor< T > | gemm_reshape_lhs_matrix (const SimpleTensor< T > &in, const TensorShape &output_shape, const GEMMLHSMatrixInfo &lhs_info) |
| template SimpleTensor< int > | gemm_reshape_lhs_matrix (const SimpleTensor< int > &in, const TensorShape &output_shape, const GEMMLHSMatrixInfo &lhs_info) |
| template SimpleTensor< short > | gemm_reshape_lhs_matrix (const SimpleTensor< short > &in, const TensorShape &output_shape, const GEMMLHSMatrixInfo &lhs_info) |
| template SimpleTensor< char > | gemm_reshape_lhs_matrix (const SimpleTensor< char > &in, const TensorShape &output_shape, const GEMMLHSMatrixInfo &lhs_info) |
| template<typename T > | |
| SimpleTensor< T > | gemm_reshape_rhs_matrix (const SimpleTensor< T > &in, const TensorShape &output_shape, const GEMMRHSMatrixInfo &rhs_info) |
| template SimpleTensor< int > | gemm_reshape_rhs_matrix (const SimpleTensor< int > &in, const TensorShape &output_shape, const GEMMRHSMatrixInfo &rhs_info) |
| template SimpleTensor< short > | gemm_reshape_rhs_matrix (const SimpleTensor< short > &in, const TensorShape &output_shape, const GEMMRHSMatrixInfo &rhs_info) |
| template SimpleTensor< char > | gemm_reshape_rhs_matrix (const SimpleTensor< char > &in, const TensorShape &output_shape, const GEMMRHSMatrixInfo &rhs_info) |
| template<typename T > | |
| SimpleTensor< T > | gemm_transpose_1xW (const SimpleTensor< T > &in) |
| template<typename T > | |
| void | im2col_nchw (const SimpleTensor< T > &src, SimpleTensor< T > &dst, const Size2D &kernel_dims, const PadStrideInfo &conv_info, bool has_bias, unsigned int num_groups) |
| template<typename T > | |
| void | im2col_nhwc (const SimpleTensor< T > &src, SimpleTensor< T > &dst, const Size2D &kernel_dims, const PadStrideInfo &conv_info, bool has_bias) |
| template<typename T > | |
| void | im2col (const SimpleTensor< T > &src, SimpleTensor< T > &dst, const Size2D &kernel_dims, const PadStrideInfo &conv_info, bool has_bias, unsigned int num_groups) |
| template void | im2col (const SimpleTensor< uint8_t > &src, SimpleTensor< uint8_t > &dst, const Size2D &kernel_dims, const PadStrideInfo &conv_info, bool has_bias, unsigned int num_groups) |
| template void | im2col (const SimpleTensor< half > &src, SimpleTensor< half > &dst, const Size2D &kernel_dims, const PadStrideInfo &conv_info, bool has_bias, unsigned int num_groups) |
| template void | im2col (const SimpleTensor< float > &src, SimpleTensor< float > &dst, const Size2D &kernel_dims, const PadStrideInfo &conv_info, bool has_bias, unsigned int num_groups) |
| SimpleTensor< int32_t > | indirect_conv2d_addr_precalculation (const TensorShape &shape_conv_src, const TensorShape &shape_conv_wei, const TensorShape &shape_conv_dst, const TensorShape &shape_dst, const PadStrideInfo &conv_info) |
| template<typename T > | |
| SimpleTensor< T > | instance_normalization (const SimpleTensor< T > &src, float gamma, float beta, float epsilon) |
| template SimpleTensor< float > | instance_normalization (const SimpleTensor< float > &src, float gamma, float beta, float epsilon) |
| template SimpleTensor< half > | instance_normalization (const SimpleTensor< half > &src, float gamma, float beta, float epsilon) |
| template<typename T > | |
| SimpleTensor< T > | l2_normalize (const SimpleTensor< T > &src, unsigned int axis, float epsilon) |
| template SimpleTensor< float > | l2_normalize (const SimpleTensor< float > &src, unsigned int axis, float epsilon) |
| template SimpleTensor< half > | l2_normalize (const SimpleTensor< half > &src, unsigned int axis, float epsilon) |
| template<typename T > | |
| T | logical_binary_op (arm_compute::LogicalOperation op, T src1, T src2) |
| template<typename T > | |
| SimpleTensor< T > | logical_or (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2) |
| template<typename T > | |
| SimpleTensor< T > | logical_and (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2) |
| template<typename T > | |
| SimpleTensor< T > | logical_not (const SimpleTensor< T > &src) |
| template SimpleTensor< uint8_t > | logical_or (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2) |
| template SimpleTensor< uint8_t > | logical_and (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2) |
| template SimpleTensor< uint8_t > | logical_not (const SimpleTensor< uint8_t > &src1) |
| template<typename T > | |
| SimpleTensor< T > | max_unpooling_layer_internal (const SimpleTensor< T > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > &indices, TensorShape output_shape, DataLayout data_layout) |
| template<> | |
| SimpleTensor< uint8_t > | max_unpooling_layer< uint8_t > (const SimpleTensor< uint8_t > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > &indices, TensorShape output_shape, DataLayout data_layout) |
| template<typename T > | |
| SimpleTensor< T > | max_unpooling_layer (const SimpleTensor< T > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > &indices, TensorShape output_shape, DataLayout data_layout) |
| template SimpleTensor< float > | max_unpooling_layer (const SimpleTensor< float > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > &indices, TensorShape output_shape, DataLayout data_layout) |
| template SimpleTensor< half > | max_unpooling_layer (const SimpleTensor< half > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > &indices, TensorShape output_shape, DataLayout data_layout) |
| template<typename T > | |
| std::pair< float, float > | mean_and_standard_deviation (const SimpleTensor< T > &in) |
| template std::pair< float, float > | mean_and_standard_deviation (const SimpleTensor< uint8_t > &in) |
| template std::pair< float, float > | mean_and_standard_deviation (const SimpleTensor< half > &in) |
| template std::pair< float, float > | mean_and_standard_deviation (const SimpleTensor< float > &in) |
| template<typename T > | |
| SimpleTensor< T > | mean_std_normalization_layer (const SimpleTensor< T > &src, float epsilon) |
| template<> | |
| SimpleTensor< uint8_t > | mean_std_normalization_layer (const SimpleTensor< uint8_t > &src, float epsilon) |
| template SimpleTensor< float > | mean_std_normalization_layer (const SimpleTensor< float > &src, float epsilon) |
| template SimpleTensor< half > | mean_std_normalization_layer (const SimpleTensor< half > &src, float epsilon) |
| template<typename T > | |
| void | compute_min_max (const SimpleTensor< T > &src, T &min, T &max) |
| template<typename T > | |
| MinMaxLocationValues< T > | min_max_location (const SimpleTensor< T > &src) |
| template MinMaxLocationValues< uint8_t > | min_max_location (const SimpleTensor< uint8_t > &src) |
| template MinMaxLocationValues< int16_t > | min_max_location (const SimpleTensor< int16_t > &src) |
| template MinMaxLocationValues< float > | min_max_location (const SimpleTensor< float > &src) |
| template<typename T > | |
| SimpleTensor< T > | non_maxima_suppression (const SimpleTensor< T > &src, BorderMode border_mode, T constant_border_value) |
| template SimpleTensor< float > | non_maxima_suppression (const SimpleTensor< float > &src, BorderMode border_mode, float constant_border_value) |
| template SimpleTensor< uint8_t > | non_maxima_suppression (const SimpleTensor< uint8_t > &src, BorderMode border_mode, uint8_t constant_border_value) |
| SimpleTensor< int > | non_max_suppression (const SimpleTensor< float > &bboxes, const SimpleTensor< float > &scores, SimpleTensor< int > &indices, unsigned int max_output_size, float score_threshold, float nms_threshold) |
| template<typename T > | |
| SimpleTensor< T > | normalization_layer (const SimpleTensor< T > &src, NormalizationLayerInfo info) |
| template SimpleTensor< float > | normalization_layer (const SimpleTensor< float > &src, NormalizationLayerInfo info) |
| template SimpleTensor< half > | normalization_layer (const SimpleTensor< half > &src, NormalizationLayerInfo info) |
| template<typename T > | |
| SimpleTensor< T > | normalize_planar_yuv_layer (const SimpleTensor< T > &src, const SimpleTensor< T > &mean, const SimpleTensor< T > &std) |
| template<> | |
| SimpleTensor< uint8_t > | normalize_planar_yuv_layer< uint8_t > (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &mean, const SimpleTensor< uint8_t > &std) |
| template<> | |
| SimpleTensor< int8_t > | normalize_planar_yuv_layer< int8_t > (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &mean, const SimpleTensor< int8_t > &std) |
| template SimpleTensor< half > | normalize_planar_yuv_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &mean, const SimpleTensor< half > &std) |
| template SimpleTensor< float > | normalize_planar_yuv_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &mean, const SimpleTensor< float > &std) |
| template<typename T > | |
| SimpleTensor< T > | pad_layer (const SimpleTensor< T > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode=PaddingMode::CONSTANT) |
| Reference function to pad an ND tensor. More... | |
| template SimpleTensor< float > | pad_layer (const SimpleTensor< float > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< half > | pad_layer (const SimpleTensor< half > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< uint8_t > | pad_layer (const SimpleTensor< uint8_t > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< int8_t > | pad_layer (const SimpleTensor< int8_t > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< uint16_t > | pad_layer (const SimpleTensor< uint16_t > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< int16_t > | pad_layer (const SimpleTensor< int16_t > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< uint32_t > | pad_layer (const SimpleTensor< uint32_t > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template SimpleTensor< int32_t > | pad_layer (const SimpleTensor< int32_t > &src, const PaddingList &paddings, const PixelValue const_value=PixelValue(), const PaddingMode mode) |
| template<typename T > | |
| SimpleTensor< T > | permute (const SimpleTensor< T > &src, PermutationVector perm) |
| template SimpleTensor< int8_t > | permute (const SimpleTensor< int8_t > &src, PermutationVector perm) |
| template SimpleTensor< uint8_t > | permute (const SimpleTensor< uint8_t > &src, PermutationVector perm) |
| template SimpleTensor< int16_t > | permute (const SimpleTensor< int16_t > &src, PermutationVector perm) |
| template SimpleTensor< uint16_t > | permute (const SimpleTensor< uint16_t > &src, PermutationVector perm) |
| template SimpleTensor< uint32_t > | permute (const SimpleTensor< uint32_t > &src, PermutationVector perm) |
| template SimpleTensor< float > | permute (const SimpleTensor< float > &src, PermutationVector perm) |
| template SimpleTensor< half > | permute (const SimpleTensor< half > &src, PermutationVector perm) |
| template SimpleTensor< bfloat16 > | permute (const SimpleTensor< bfloat16 > &src, PermutationVector perm) |
| template<typename T1 , typename T2 , typename T3 > | |
| SimpleTensor< T3 > | pixel_wise_multiplication (const SimpleTensor< T1 > &src1, const SimpleTensor< T2 > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template<> | |
| SimpleTensor< uint8_t > | pixel_wise_multiplication (const SimpleTensor< uint8_t > &src1, const SimpleTensor< uint8_t > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template<> | |
| SimpleTensor< int8_t > | pixel_wise_multiplication (const SimpleTensor< int8_t > &src1, const SimpleTensor< int8_t > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template<> | |
| SimpleTensor< int16_t > | pixel_wise_multiplication (const SimpleTensor< int16_t > &src1, const SimpleTensor< int16_t > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template SimpleTensor< int16_t > | pixel_wise_multiplication (const SimpleTensor< uint8_t > &src1, const SimpleTensor< int16_t > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template SimpleTensor< int32_t > | pixel_wise_multiplication (const SimpleTensor< int32_t > &src1, const SimpleTensor< int32_t > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template SimpleTensor< float > | pixel_wise_multiplication (const SimpleTensor< float > &src1, const SimpleTensor< float > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template SimpleTensor< half_float::half > | pixel_wise_multiplication (const SimpleTensor< half_float::half > &src1, const SimpleTensor< half_float::half > &src2, float scale, ConvertPolicy convert_policy, RoundingPolicy rounding_policy, DataType dt_out, const QuantizationInfo &qout) |
| template<typename T > | |
| SimpleTensor< T > | pooling_3d_layer_internal (const SimpleTensor< T > &src, const Pooling3dLayerInfo &pool3d_info, SimpleTensor< uint32_t > *indices) |
| template SimpleTensor< float > | pooling_3d_layer (const SimpleTensor< float > &src, const Pooling3dLayerInfo &pool3d_info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices) |
| template SimpleTensor< half > | pooling_3d_layer (const SimpleTensor< half > &src, const Pooling3dLayerInfo &pool3d_info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices) |
| template<typename T > | |
| SimpleTensor< T > | pooling_3d_layer (const SimpleTensor< T > &src, const Pooling3dLayerInfo &pool3d_info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices) |
| template<> | |
| SimpleTensor< int8_t > | pooling_3d_layer< int8_t > (const SimpleTensor< int8_t > &src, const Pooling3dLayerInfo &pool3d_info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices) |
| template<> | |
| SimpleTensor< uint8_t > | pooling_3d_layer< uint8_t > (const SimpleTensor< uint8_t > &src, const Pooling3dLayerInfo &pool3d_info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices) |
| template<typename T , typename ACC_T , typename std::enable_if< is_floating_point< T >::value, int >::type > | |
| SimpleTensor< T > | pooling_layer_internal (const SimpleTensor< T > &src, const PoolingLayerInfo &info, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template SimpleTensor< float > | pooling_layer_internal< float > (const SimpleTensor< float > &src, const PoolingLayerInfo &info, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template SimpleTensor< half > | pooling_layer_internal< half > (const SimpleTensor< half > &src, const PoolingLayerInfo &info, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template SimpleTensor< half > | pooling_layer_internal< half, float > (const SimpleTensor< half > &src, const PoolingLayerInfo &info, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template<typename T > | |
| SimpleTensor< T > | pooling_layer (const SimpleTensor< T > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template<> | |
| SimpleTensor< uint8_t > | pooling_layer< uint8_t > (const SimpleTensor< uint8_t > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template<> | |
| SimpleTensor< int8_t > | pooling_layer< int8_t > (const SimpleTensor< int8_t > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template<> | |
| SimpleTensor< half > | pooling_layer (const SimpleTensor< half > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template SimpleTensor< float > | pooling_layer (const SimpleTensor< float > &src, const PoolingLayerInfo &info, const QuantizationInfo &output_qinfo, SimpleTensor< uint32_t > *indices, DataLayout data_layout) |
| template<typename T > | |
| SimpleTensor< T > | prior_box_layer (const SimpleTensor< T > &src1, const SimpleTensor< T > &src2, const PriorBoxLayerInfo &info, const TensorShape &output_shape) |
| template SimpleTensor< float > | prior_box_layer (const SimpleTensor< float > &src1, const SimpleTensor< float > &src2, const PriorBoxLayerInfo &info, const TensorShape &output_shape) |
| SimpleTensor< int16_t > | qlstm_layer_normalization (const SimpleTensor< int16_t > &src, const SimpleTensor< int16_t > &weight, const SimpleTensor< int32_t > &bias) |
| template<typename Tin , typename Tout > | |
| SimpleTensor< Tout > | quantization_layer (const SimpleTensor< Tin > &src, DataType output_data_type, const QuantizationInfo &quantization_info) |
| template<> | |
| SimpleTensor< uint8_t > | quantization_layer (const SimpleTensor< uint8_t > &src, DataType output_data_type, const QuantizationInfo &quantization_info) |
| template<> | |
| SimpleTensor< uint8_t > | quantization_layer (const SimpleTensor< int8_t > &src, DataType output_data_type, const QuantizationInfo &quantization_info) |
| template SimpleTensor< int8_t > | quantization_layer (const SimpleTensor< half > &src, DataType output_data_type, const QuantizationInfo &quantization_info) |
| template SimpleTensor< int8_t > | quantization_layer (const SimpleTensor< float > &src, DataType output_data_type, const QuantizationInfo &quantization_info) |
| template<typename T > | |
| SimpleTensor< T > | range (SimpleTensor< T > &dst, float start, const size_t num_of_elements, float step) |
| template<> | |
| SimpleTensor< uint8_t > | range (SimpleTensor< uint8_t > &dst, float start, const size_t num_of_elements, float step) |
| template SimpleTensor< float > | range (SimpleTensor< float > &dst, float start, const size_t num_of_elements, float step) |
| template SimpleTensor< half > | range (SimpleTensor< half > &dst, float start, const size_t num_of_elements, float step) |
| template SimpleTensor< int8_t > | range (SimpleTensor< int8_t > &dst, float start, const size_t num_of_elements, float step) |
| template SimpleTensor< uint16_t > | range (SimpleTensor< uint16_t > &dst, float start, const size_t num_of_elements, float step) |
| template SimpleTensor< int16_t > | range (SimpleTensor< int16_t > &dst, float start, const size_t num_of_elements, float step) |
| template<typename T , typename OT > | |
| SimpleTensor< OT > | compute_reduction_operation (const SimpleTensor< T > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type, RoundingPolicy policy) |
| template<typename T , typename OT > | |
| SimpleTensor< OT > | reduction_operation (const SimpleTensor< T > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type, QuantizationInfo quantization_info_output, RoundingPolicy policy) |
| template<> | |
| SimpleTensor< uint8_t > | reduction_operation (const SimpleTensor< uint8_t > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type, QuantizationInfo quantization_info_output, RoundingPolicy policy) |
| template<> | |
| SimpleTensor< int8_t > | reduction_operation (const SimpleTensor< int8_t > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type, QuantizationInfo quantization_info_output, RoundingPolicy policy) |
| template SimpleTensor< float > | reduction_operation (const SimpleTensor< float > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type=DataType::S32, QuantizationInfo quantization_info_output=QuantizationInfo(), RoundingPolicy policy=RoundingPolicy::TO_ZERO) |
| template SimpleTensor< half > | reduction_operation (const SimpleTensor< half > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type=DataType::S32, QuantizationInfo quantization_info_output=QuantizationInfo(), RoundingPolicy policy=RoundingPolicy::TO_ZERO) |
| template SimpleTensor< int32_t > | reduction_operation (const SimpleTensor< int32_t > &src, const TensorShape &dst_shape, unsigned int axis, ReductionOperation op, DataType output_type=DataType::S32, QuantizationInfo quantization_info_output=QuantizationInfo(), RoundingPolicy policy=RoundingPolicy::TO_ZERO) |
| template<typename T > | |
| SimpleTensor< T > | reorder_layer (const SimpleTensor< T > &src, const TensorShape &output_shape, WeightFormat output_wf) |
| template SimpleTensor< float > | reorder_layer (const SimpleTensor< float > &src, const TensorShape &output_shape, WeightFormat output_wf) |
| template<typename T > | |
| SimpleTensor< T > | reorg_layer (const SimpleTensor< T > &src, int32_t stride) |
| template SimpleTensor< int32_t > | reorg_layer (const SimpleTensor< int32_t > &src, int32_t stride) |
| template SimpleTensor< int16_t > | reorg_layer (const SimpleTensor< int16_t > &src, int32_t stride) |
| template SimpleTensor< int8_t > | reorg_layer (const SimpleTensor< int8_t > &src, int32_t stride) |
| template<typename T > | |
| SimpleTensor< T > | reshape_layer (const SimpleTensor< T > &src, const TensorShape &output_shape) |
| [ReshapeLayer] More... | |
| template SimpleTensor< uint8_t > | reshape_layer (const SimpleTensor< uint8_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< int8_t > | reshape_layer (const SimpleTensor< int8_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< uint16_t > | reshape_layer (const SimpleTensor< uint16_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< int16_t > | reshape_layer (const SimpleTensor< int16_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< uint32_t > | reshape_layer (const SimpleTensor< uint32_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< int32_t > | reshape_layer (const SimpleTensor< int32_t > &src, const TensorShape &output_shape) |
| template SimpleTensor< half > | reshape_layer (const SimpleTensor< half > &src, const TensorShape &output_shape) |
| template SimpleTensor< float > | reshape_layer (const SimpleTensor< float > &src, const TensorShape &output_shape) |
| template SimpleTensor< bfloat16 > | reshape_layer (const SimpleTensor< bfloat16 > &src, const TensorShape &output_shape) |
| template<typename T > | |
| SimpleTensor< T > | reverse (const SimpleTensor< T > &src, const SimpleTensor< int32_t > &axis, bool use_inverted_axis) |
| template SimpleTensor< uint8_t > | reverse (const SimpleTensor< uint8_t > &src, const SimpleTensor< int32_t > &axis, bool use_inverted_axis) |
| template SimpleTensor< half > | reverse (const SimpleTensor< half > &src, const SimpleTensor< int32_t > &axis, bool use_inverted_axis) |
| template SimpleTensor< float > | reverse (const SimpleTensor< float > &src, const SimpleTensor< int32_t > &axis, bool use_inverted_axis) |
| template<> | |
| SimpleTensor< float > | roi_align_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<> | |
| SimpleTensor< half > | roi_align_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<> | |
| SimpleTensor< uint8_t > | roi_align_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint16_t > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<> | |
| SimpleTensor< int8_t > | roi_align_layer (const SimpleTensor< int8_t > &src, const SimpleTensor< uint16_t > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<typename T , typename TRois > | |
| SimpleTensor< T > | roi_align_layer (const SimpleTensor< T > &src, const SimpleTensor< TRois > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<> | |
| SimpleTensor< float > | roi_pool_layer (const SimpleTensor< float > &src, const SimpleTensor< uint16_t > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<> | |
| SimpleTensor< uint8_t > | roi_pool_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint16_t > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<typename T > | |
| SimpleTensor< T > | roi_pool_layer (const SimpleTensor< T > &src, const SimpleTensor< uint16_t > &rois, const ROIPoolingLayerInfo &pool_info, const QuantizationInfo &output_qinfo) |
| template<typename T > | |
| SimpleTensor< T > | scale_core (const SimpleTensor< T > &in, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, T constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners) |
| template<typename T > | |
| SimpleTensor< T > | scale (const SimpleTensor< T > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, T constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners, QuantizationInfo output_quantization_info) |
| template<> | |
| SimpleTensor< uint8_t > | scale (const SimpleTensor< uint8_t > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, uint8_t constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners, QuantizationInfo output_quantization_info) |
| template<> | |
| SimpleTensor< int8_t > | scale (const SimpleTensor< int8_t > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, int8_t constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners, QuantizationInfo output_quantization_info) |
| template SimpleTensor< int16_t > | scale (const SimpleTensor< int16_t > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, int16_t constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners, QuantizationInfo output_quantization_info) |
| template SimpleTensor< half > | scale (const SimpleTensor< half > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, half constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners, QuantizationInfo output_quantization_info) |
| template SimpleTensor< float > | scale (const SimpleTensor< float > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, float constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners, QuantizationInfo output_quantization_info) |
| template<typename T > | |
| SimpleTensor< T > | scatter_layer_internal (const SimpleTensor< T > &src, const SimpleTensor< T > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template<typename T > | |
| SimpleTensor< T > | scatter_layer (const SimpleTensor< T > &src, const SimpleTensor< T > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< float > | scatter_layer (const SimpleTensor< float > &src, const SimpleTensor< float > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< half > | scatter_layer (const SimpleTensor< half > &src, const SimpleTensor< half > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< int32_t > | scatter_layer (const SimpleTensor< int32_t > &src, const SimpleTensor< int32_t > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< uint32_t > | scatter_layer (const SimpleTensor< uint32_t > &src, const SimpleTensor< uint32_t > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< int16_t > | scatter_layer (const SimpleTensor< int16_t > &src, const SimpleTensor< int16_t > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< uint16_t > | scatter_layer (const SimpleTensor< uint16_t > &src, const SimpleTensor< uint16_t > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< int8_t > | scatter_layer (const SimpleTensor< int8_t > &src, const SimpleTensor< int8_t > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template SimpleTensor< uint8_t > | scatter_layer (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &updates, const SimpleTensor< int32_t > &indices, const TensorShape &out_shape, const ScatterInfo &info) |
| template<typename T > | |
| SimpleTensor< T > | select (const SimpleTensor< uint8_t > &c, const SimpleTensor< T > &x, const SimpleTensor< T > &y) |
| template SimpleTensor< uint8_t > | select (const SimpleTensor< uint8_t > &c, const SimpleTensor< uint8_t > &x, const SimpleTensor< uint8_t > &y) |
| template SimpleTensor< half > | select (const SimpleTensor< uint8_t > &c, const SimpleTensor< half > &x, const SimpleTensor< half > &y) |
| template SimpleTensor< float > | select (const SimpleTensor< uint8_t > &c, const SimpleTensor< float > &x, const SimpleTensor< float > &y) |
| template<typename T > | |
| SimpleTensor< T > | slice (const SimpleTensor< T > &src, Coordinates starts, Coordinates ends) |
| template SimpleTensor< float > | slice (const SimpleTensor< float > &src, Coordinates starts, Coordinates ends) |
| template SimpleTensor< half_float::half > | slice (const SimpleTensor< half_float::half > &src, Coordinates starts, Coordinates ends) |
| template<typename T > | |
| SimpleTensor< T > | strided_slice (const SimpleTensor< T > &src, Coordinates starts, Coordinates ends, BiStrides strides, int32_t begin_mask, int32_t end_mask, int32_t shrink_axis_mask) |
| template SimpleTensor< float > | strided_slice (const SimpleTensor< float > &src, Coordinates starts, Coordinates ends, BiStrides strides, int32_t begin_mask, int32_t end_mask, int32_t shrink_axis_mask) |
| template SimpleTensor< half_float::half > | strided_slice (const SimpleTensor< half_float::half > &src, Coordinates starts, Coordinates ends, BiStrides strides, int32_t begin_mask, int32_t end_mask, int32_t shrink_axis_mask) |
| template<typename T , typename std::enable_if< is_floating_point< T >::value, int >::type > | |
| SimpleTensor< T > | softmax_layer_generic (const SimpleTensor< T > &src, float beta, int32_t axis, bool is_log) |
| template SimpleTensor< float > | softmax_layer_generic (const SimpleTensor< float > &src, float beta, int32_t axis, bool is_log) |
| template SimpleTensor< half > | softmax_layer_generic (const SimpleTensor< half > &src, float beta, int32_t axis, bool is_log) |
| template<typename T , typename std::enable_if< is_floating_point< T >::value, int >::type > | |
| SimpleTensor< T > | softmax_layer (const SimpleTensor< T > &src, float beta, int32_t axis, bool is_log) |
| template SimpleTensor< float > | softmax_layer (const SimpleTensor< float > &src, float beta, int32_t axis, bool is_log) |
| template SimpleTensor< half > | softmax_layer (const SimpleTensor< half > &src, float beta, int32_t axis, bool is_log) |
| template SimpleTensor< uint8_t > | softmax_layer (const SimpleTensor< uint8_t > &src, float beta, int32_t axis, bool is_log) |
| template SimpleTensor< int8_t > | softmax_layer (const SimpleTensor< int8_t > &src, float beta, int32_t axis, bool is_log) |
| template<typename T > | |
| SimpleTensor< T > | space_to_batch (const SimpleTensor< T > &src, const SimpleTensor< int32_t > &block_shape, const SimpleTensor< int32_t > &paddings, const TensorShape &dst_shape) |
| template SimpleTensor< float > | space_to_batch (const SimpleTensor< float > &src, const SimpleTensor< int32_t > &block_shape, const SimpleTensor< int32_t > &paddings, const TensorShape &dst_shape) |
| template SimpleTensor< half > | space_to_batch (const SimpleTensor< half > &src, const SimpleTensor< int32_t > &block_shape, const SimpleTensor< int32_t > &paddings, const TensorShape &dst_shape) |
| template SimpleTensor< uint8_t > | space_to_batch (const SimpleTensor< uint8_t > &src, const SimpleTensor< int32_t > &block_shape, const SimpleTensor< int32_t > &paddings, const TensorShape &dst_shape) |
| template<typename T > | |
| SimpleTensor< T > | space_to_depth (const SimpleTensor< T > &src, const TensorShape &dst_shape, const int block_shape) |
| template SimpleTensor< float > | space_to_depth (const SimpleTensor< float > &src, const TensorShape &dst_shape, const int block_shape) |
| template SimpleTensor< half > | space_to_depth (const SimpleTensor< half > &src, const TensorShape &dst_shape, const int block_shape) |
| template<typename T > | |
| SimpleTensor< T > | stack_layer (const std::vector< SimpleTensor< T >> &in, const TensorShape &output_shape, DataType data_type, unsigned int axis) |
| template SimpleTensor< int > | stack_layer (const std::vector< SimpleTensor< int >> &in, const TensorShape &output_shape, DataType data_type, unsigned int axis) |
| template SimpleTensor< short > | stack_layer (const std::vector< SimpleTensor< short >> &in, const TensorShape &output_shape, DataType data_type, unsigned int axis) |
| template SimpleTensor< char > | stack_layer (const std::vector< SimpleTensor< char >> &in, const TensorShape &output_shape, DataType data_type, unsigned int axis) |
| template<typename T > | |
| SimpleTensor< T > | table_lookup (const SimpleTensor< T > &src, const std::map< T, T > &rawlut) |
| template SimpleTensor< uint8_t > | table_lookup (const SimpleTensor< uint8_t > &src, const std::map< uint8_t, uint8_t > &rawlut) |
| template SimpleTensor< int16_t > | table_lookup (const SimpleTensor< int16_t > &src, const std::map< int16_t, int16_t > &rawlut) |
| template<typename T > | |
| SimpleTensor< T > | tile (const SimpleTensor< T > &src, const Multiples &multiples) |
| template SimpleTensor< uint8_t > | tile (const SimpleTensor< uint8_t > &src, const Multiples &multiples) |
| template SimpleTensor< int8_t > | tile (const SimpleTensor< int8_t > &src, const Multiples &multiples) |
| template SimpleTensor< uint16_t > | tile (const SimpleTensor< uint16_t > &src, const Multiples &multiples) |
| template SimpleTensor< int16_t > | tile (const SimpleTensor< int16_t > &src, const Multiples &multiples) |
| template SimpleTensor< uint32_t > | tile (const SimpleTensor< uint32_t > &src, const Multiples &multiples) |
| template SimpleTensor< int32_t > | tile (const SimpleTensor< int32_t > &src, const Multiples &multiples) |
| template SimpleTensor< half > | tile (const SimpleTensor< half > &src, const Multiples &multiples) |
| template SimpleTensor< float > | tile (const SimpleTensor< float > &src, const Multiples &multiples) |
| template<typename T > | |
| SimpleTensor< T > | transpose (const SimpleTensor< T > &src) |
| template SimpleTensor< uint8_t > | transpose (const SimpleTensor< uint8_t > &src) |
| template SimpleTensor< uint16_t > | transpose (const SimpleTensor< uint16_t > &src) |
| template SimpleTensor< uint32_t > | transpose (const SimpleTensor< uint32_t > &src) |
| template SimpleTensor< half > | transpose (const SimpleTensor< half > &src) |
| template SimpleTensor< float > | transpose (const SimpleTensor< float > &src) |
| template<typename T > | |
| std::vector< SimpleTensor< T > > | unstack (const SimpleTensor< T > &input_tensor, std::vector< SimpleTensor< T >> &output_tensors, int axis) |
| template std::vector< SimpleTensor< float > > | unstack (const SimpleTensor< float > &input_tensor, std::vector< SimpleTensor< float >> &output_tensors, int axis) |
| template std::vector< SimpleTensor< half > > | unstack (const SimpleTensor< half > &input_tensor, std::vector< SimpleTensor< half >> &output_tensors, int axis) |
| template std::vector< SimpleTensor< uint8_t > > | unstack (const SimpleTensor< uint8_t > &input_tensor, std::vector< SimpleTensor< uint8_t >> &output_tensors, int axis) |
| template<typename T > | |
| SimpleTensor< T > | weights_reshape (const SimpleTensor< T > &src, const SimpleTensor< T > &biases, const TensorShape &dst_shape, const unsigned int num_groups) |
| template SimpleTensor< float > | weights_reshape (const SimpleTensor< float > &src, const SimpleTensor< float > &biases, const TensorShape &dst_shape, const unsigned int num_groups) |
| template SimpleTensor< half > | weights_reshape (const SimpleTensor< half > &src, const SimpleTensor< half > &biases, const TensorShape &dst_shape, const unsigned int num_groups) |
| template SimpleTensor< uint8_t > | weights_reshape (const SimpleTensor< uint8_t > &src, const SimpleTensor< uint8_t > &biases, const TensorShape &dst_shape, const unsigned int num_groups) |
| template<typename T > | |
| SimpleTensor< T > | winograd_input_transform (const SimpleTensor< T > &in, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template<typename T > | |
| SimpleTensor< T > | winograd_filter_transform (const SimpleTensor< T > &in, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template<typename T > | |
| SimpleTensor< T > | winograd_output_transform (const SimpleTensor< T > &in, const SimpleTensor< T > &b, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template SimpleTensor< float > | winograd_filter_transform (const SimpleTensor< float > &in, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template SimpleTensor< float > | winograd_input_transform (const SimpleTensor< float > &in, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template SimpleTensor< float > | winograd_output_transform (const SimpleTensor< float > &in, const SimpleTensor< float > &b, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template SimpleTensor< half > | winograd_filter_transform (const SimpleTensor< half > &in, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template SimpleTensor< half > | winograd_input_transform (const SimpleTensor< half > &in, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
| template SimpleTensor< half > | winograd_output_transform (const SimpleTensor< half > &in, const SimpleTensor< half > &b, const TensorShape &output_shape, const WinogradInfo &winograd_info) |
|
strong |
|
strong |
|
strong |
Winograd transform type.
| Enumerator | |
|---|---|
| INPUT | Winograd input transform. |
| FILTER | Winograd filter transform. |
| OUTPUT | Winograd output transform. |
Definition at line 40 of file Winograd.h.
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::absolute_difference | ( | const SimpleTensor< int16_t > & | src1, |
| const SimpleTensor< int16_t > & | src2, | ||
| DataType | dst_data_type | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::absolute_difference | ( | const SimpleTensor< int8_t > & | src1, |
| const SimpleTensor< int8_t > & | src2, | ||
| DataType | dst_data_type | ||
| ) |
| SimpleTensor< T > absolute_difference | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2, | ||
| DataType | dst_data_type | ||
| ) |
Definition at line 38 of file AbsoluteDifference.cpp.
References SimpleTensor< T >::num_elements(), and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::absolute_difference | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2, | ||
| DataType | dst_data_type | ||
| ) |
| SimpleTensor< T2 > accumulate | ( | const SimpleTensor< T1 > & | src, |
| DataType | output_data_type | ||
| ) |
Definition at line 38 of file Accumulate.cpp.
References arm_compute::test::validation::dst, arm_compute::test::library, and arm_compute::test::validation::src.
Referenced by Dimensions< size_t >::collapse(), arm_compute::detail::convolve_3x3(), arm_compute::helpers::fft::digit_reverse_indices(), InstrumentsStats::InstrumentsStats(), arm_compute::join(), arm_compute::test::join(), mean_and_standard_deviation(), arm_compute::scale_helpers::pixel_area_c1u8_clamp(), SimpleTensor< uint8_t >::size(), OpenCLMemoryUsage::test_measurements(), TensorShape::total_size(), TensorShape::total_size_lower(), and TensorShape::total_size_upper().
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::accumulate | ( | const SimpleTensor< uint8_t > & | src, |
| DataType | output_data_type | ||
| ) |
| SimpleTensor< T2 > accumulate_squared | ( | const SimpleTensor< T1 > & | src, |
| uint32_t | shift, | ||
| DataType | output_data_type | ||
| ) |
Definition at line 80 of file Accumulate.cpp.
References ARM_COMPUTE_ERROR_ON_MSG, arm_compute::test::validation::dst, arm_compute::test::library, and arm_compute::test::validation::src.
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::accumulate_squared | ( | const SimpleTensor< uint8_t > & | src, |
| uint32_t | shift, | ||
| DataType | output_data_type | ||
| ) |
| SimpleTensor< T2 > accumulate_weighted | ( | const SimpleTensor< T1 > & | src, |
| float | alpha, | ||
| DataType | output_data_type | ||
| ) |
Definition at line 58 of file Accumulate.cpp.
References ARM_COMPUTE_ERROR_ON_MSG, arm_compute::test::validation::dst, arm_compute::test::library, and arm_compute::test::validation::src.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::accumulate_weighted | ( | const SimpleTensor< uint8_t > & | src, |
| float | alpha, | ||
| DataType | output_data_type | ||
| ) |
|
inline |
Definition at line 39 of file ActivationLayer.h.
References ARM_COMPUTE_ERROR, and arm_compute::test::validation::b.
| template SimpleTensor<bfloat16> arm_compute::test::validation::reference::activation_layer | ( | const SimpleTensor< bfloat16 > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::activation_layer | ( | const SimpleTensor< float > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::activation_layer | ( | const SimpleTensor< half > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::activation_layer | ( | const SimpleTensor< int32_t > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
| SimpleTensor< T > activation_layer | ( | const SimpleTensor< T > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
Definition at line 39 of file ActivationLayer.cpp.
References ARM_COMPUTE_UNUSED, arm_compute::test::validation::b, arm_compute::test::validation::dst, arm_compute::test::validation::info, and arm_compute::test::validation::src.
Referenced by batch_normalization_layer(), and arm_compute::test::validation::TEST_CASE().
| SimpleTensor<int16_t> arm_compute::test::validation::reference::activation_layer< int16_t > | ( | const SimpleTensor< int16_t > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
Definition at line 86 of file ActivationLayer.cpp.
References arm_compute::test::validation::convert_from_symmetric(), arm_compute::test::validation::dst, QuantizationInfo::empty(), arm_compute::test::validation::info, and arm_compute::test::validation::src.
| SimpleTensor<int8_t> arm_compute::test::validation::reference::activation_layer< int8_t > | ( | const SimpleTensor< int8_t > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
Definition at line 74 of file ActivationLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, QuantizationInfo::empty(), arm_compute::test::validation::info, and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::activation_layer< uint8_t > | ( | const SimpleTensor< uint8_t > & | src, |
| ActivationLayerInfo | info, | ||
| const QuantizationInfo & | oq_info | ||
| ) |
Definition at line 62 of file ActivationLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, QuantizationInfo::empty(), arm_compute::test::validation::info, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::arithmetic_division | ( | const SimpleTensor< float > & | src1, |
| const SimpleTensor< float > & | src2, | ||
| DataType | data_type | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::arithmetic_division | ( | const SimpleTensor< half > & | src1, |
| const SimpleTensor< half > & | src2, | ||
| DataType | data_type | ||
| ) |
| SimpleTensor< T > arithmetic_division | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2, | ||
| DataType | data_type | ||
| ) |
Definition at line 79 of file ArithmeticDivision.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| template SimpleTensor< float > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< float > & | src1, | ||
| const SimpleTensor< float > & | src2, | ||
| DataType | dst_data_type, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| template SimpleTensor< float > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< float > & | src1, | ||
| const SimpleTensor< float > & | src2, | ||
| SimpleTensor< float > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| template SimpleTensor< half > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< half > & | src1, | ||
| const SimpleTensor< half > & | src2, | ||
| DataType | dst_data_type, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| template SimpleTensor< half > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< half > & | src1, | ||
| const SimpleTensor< half > & | src2, | ||
| SimpleTensor< half > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| template SimpleTensor< int16_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< int16_t > & | src1, | ||
| const SimpleTensor< int16_t > & | src2, | ||
| DataType | dst_data_type, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| SimpleTensor< int16_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< int16_t > & | src1, | ||
| const SimpleTensor< int16_t > & | src2, | ||
| SimpleTensor< int16_t > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
Definition at line 158 of file ArithmeticOperations.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::dst, arm_compute::QSYMM16, and SimpleTensor< T >::shape().
| template SimpleTensor< int32_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< int32_t > & | src1, | ||
| const SimpleTensor< int32_t > & | src2, | ||
| DataType | dst_data_type, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| template SimpleTensor< int32_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< int32_t > & | src1, | ||
| const SimpleTensor< int32_t > & | src2, | ||
| SimpleTensor< int32_t > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| template SimpleTensor< int8_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< int8_t > & | src1, | ||
| const SimpleTensor< int8_t > & | src2, | ||
| DataType | dst_data_type, | ||
| ConvertPolicy | convert_policy | ||
| ) |
| SimpleTensor< int8_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< int8_t > & | src1, | ||
| const SimpleTensor< int8_t > & | src2, | ||
| SimpleTensor< int8_t > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
Definition at line 131 of file ArithmeticOperations.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, arm_compute::QASYMM8_SIGNED, and SimpleTensor< T >::shape().
| SimpleTensor< T > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< T > & | src1, | ||
| const SimpleTensor< T > & | src2, | ||
| DataType | dst_data_type, | ||
| ConvertPolicy | convert_policy | ||
| ) |
Definition at line 188 of file ArithmeticOperations.cpp.
References ARM_COMPUTE_ERROR_ON_MSG, TensorShape::broadcast_shape(), arm_compute::test::validation::dst, arm_compute::is_data_type_quantized(), and SimpleTensor< T >::shape().
| SimpleTensor< T > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< T > & | src1, | ||
| const SimpleTensor< T > & | src2, | ||
| SimpleTensor< T > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
Definition at line 92 of file ArithmeticOperations.cpp.
References arm_compute::test::validation::dst.
Referenced by arm_compute::test::validation::TEST_CASE().
| SimpleTensor< uint8_t > arithmetic_operation | ( | ArithmeticOperation | op, |
| const SimpleTensor< uint8_t > & | src1, | ||
| const SimpleTensor< uint8_t > & | src2, | ||
| SimpleTensor< uint8_t > & | dst, | ||
| ConvertPolicy | convert_policy | ||
| ) |
Definition at line 104 of file ArithmeticOperations.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, arm_compute::QASYMM8, and SimpleTensor< T >::shape().
| template SimpleTensor<float> arm_compute::test::validation::reference::batch_normalization_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | mean, | ||
| const SimpleTensor< float > & | var, | ||
| const SimpleTensor< float > & | beta, | ||
| const SimpleTensor< float > & | gamma, | ||
| float | epsilon, | ||
| ActivationLayerInfo | act_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::batch_normalization_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | mean, | ||
| const SimpleTensor< half > & | var, | ||
| const SimpleTensor< half > & | beta, | ||
| const SimpleTensor< half > & | gamma, | ||
| float | epsilon, | ||
| ActivationLayerInfo | act_info | ||
| ) |
| SimpleTensor< T > batch_normalization_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | mean, | ||
| const SimpleTensor< T > & | var, | ||
| const SimpleTensor< T > & | beta, | ||
| const SimpleTensor< T > & | gamma, | ||
| float | epsilon, | ||
| ActivationLayerInfo | act_info | ||
| ) |
Definition at line 40 of file BatchNormalizationLayer.cpp.
References arm_compute::test::validation::act_info, activation_layer(), caffe_mnist_image_extractor::cols, arm_compute::quantization::epsilon, caffe_mnist_image_extractor::rows, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::batch_to_space | ( | const SimpleTensor< float > & | src, |
| const std::vector< int32_t > & | block_shape, | ||
| const CropInfo & | crop_info, | ||
| const TensorShape & | dst_shape | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::batch_to_space | ( | const SimpleTensor< half > & | src, |
| const std::vector< int32_t > & | block_shape, | ||
| const CropInfo & | crop_info, | ||
| const TensorShape & | dst_shape | ||
| ) |
| SimpleTensor< T > batch_to_space | ( | const SimpleTensor< T > & | src, |
| const std::vector< int32_t > & | block_shape, | ||
| const CropInfo & | crop_info, | ||
| const TensorShape & | dst_shape | ||
| ) |
Definition at line 40 of file BatchToSpaceLayer.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_UNUSED, arm_compute::misc::shape_calculator::compute_batch_to_space_shape(), arm_compute::test::validation::dst_shape, arm_compute::detail::have_different_dimensions(), Padding2D::left, arm_compute::NCHW, arm_compute::test::validation::src, and Padding2D::top.
| SimpleTensor< T > bitwise_and | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2 | ||
| ) |
Definition at line 35 of file BitwiseAnd.cpp.
References SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, SimpleTensor< T >::num_elements(), and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::bitwise_and | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2 | ||
| ) |
| SimpleTensor< T > bitwise_not | ( | const SimpleTensor< T > & | src | ) |
Definition at line 35 of file BitwiseNot.cpp.
References arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::bitwise_not | ( | const SimpleTensor< uint8_t > & | src | ) |
| SimpleTensor< T > bitwise_or | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2 | ||
| ) |
Definition at line 35 of file BitwiseOr.cpp.
References SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, SimpleTensor< T >::num_elements(), and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::bitwise_or | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2 | ||
| ) |
| SimpleTensor< T > bitwise_xor | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2 | ||
| ) |
Definition at line 35 of file BitwiseXor.cpp.
References SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, SimpleTensor< T >::num_elements(), and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::bitwise_xor | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2 | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::bounding_box_transform | ( | const SimpleTensor< float > & | boxes, |
| const SimpleTensor< float > & | deltas, | ||
| const BoundingBoxTransformInfo & | info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::bounding_box_transform | ( | const SimpleTensor< half > & | boxes, |
| const SimpleTensor< half > & | deltas, | ||
| const BoundingBoxTransformInfo & | info | ||
| ) |
| SimpleTensor< T > bounding_box_transform | ( | const SimpleTensor< T > & | boxes, |
| const SimpleTensor< TDeltas > & | deltas, | ||
| const BoundingBoxTransformInfo & | info | ||
| ) |
Definition at line 40 of file BoundingBoxTransform.cpp.
References ARM_COMPUTE_ERROR_ON, SimpleTensor< T >::data(), SimpleTensor< T >::data_type(), arm_compute::test::validation::info, offset(), and SimpleTensor< T >::shape().
| SimpleTensor<uint16_t> arm_compute::test::validation::reference::bounding_box_transform | ( | const SimpleTensor< uint16_t > & | boxes, |
| const SimpleTensor< uint8_t > & | deltas, | ||
| const BoundingBoxTransformInfo & | info | ||
| ) |
Definition at line 105 of file BoundingBoxTransform.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::info, and SimpleTensor< T >::quantization_info().
| template SimpleTensor<float> arm_compute::test::validation::reference::channel_shuffle | ( | const SimpleTensor< float > & | src, |
| int | num_groups | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::channel_shuffle | ( | const SimpleTensor< half > & | src, |
| int | num_groups | ||
| ) |
| SimpleTensor< T > channel_shuffle | ( | const SimpleTensor< T > & | src, |
| int | num_groups | ||
| ) |
Definition at line 39 of file ChannelShuffle.cpp.
References batches, copy(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_ref, M, N, arm_compute::test::validation::num_groups, arm_compute::test::validation::src, and arm_compute::test::validation::src_ref.
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::channel_shuffle | ( | const SimpleTensor< uint16_t > & | src, |
| int | num_groups | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::channel_shuffle | ( | const SimpleTensor< uint32_t > & | src, |
| int | num_groups | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::channel_shuffle | ( | const SimpleTensor< uint8_t > & | src, |
| int | num_groups | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::col2im | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | num_groups | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::col2im | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | num_groups | ||
| ) |
| SimpleTensor< T > col2im | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | num_groups | ||
| ) |
Definition at line 38 of file Col2Im.cpp.
References arm_compute::test::validation::b, batches, arm_compute::test::coord2index(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::test::validation::num_groups, arm_compute::test::validation::src, TensorShape::total_size(), Dimensions< T >::x(), Dimensions< T >::y(), and Dimensions< T >::z().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::col2im | ( | const SimpleTensor< uint8_t > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | num_groups | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::compare | ( | ComparisonOperation | op, |
| const SimpleTensor< float > & | src1, | ||
| const SimpleTensor< float > & | src2 | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::compare | ( | ComparisonOperation | op, |
| const SimpleTensor< half > & | src1, | ||
| const SimpleTensor< half > & | src2 | ||
| ) |
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::compare | ( | ComparisonOperation | op, |
| const SimpleTensor< int8_t > & | src1, | ||
| const SimpleTensor< int8_t > & | src2 | ||
| ) |
Definition at line 146 of file Comparisons.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::convert_from_asymmetric(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, arm_compute::QASYMM8_SIGNED, SimpleTensor< T >::shape(), and arm_compute::U8.
| SimpleTensor< uint8_t > compare | ( | ComparisonOperation | op, |
| const SimpleTensor< T > & | src1, | ||
| const SimpleTensor< T > & | src2 | ||
| ) |
Definition at line 111 of file Comparisons.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::dst, SimpleTensor< T >::shape(), and arm_compute::U8.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::compare | ( | ComparisonOperation | op, |
| const SimpleTensor< uint8_t > & | src1, | ||
| const SimpleTensor< uint8_t > & | src2 | ||
| ) |
Definition at line 123 of file Comparisons.cpp.
References TensorShape::broadcast_shape(), arm_compute::test::validation::convert_from_asymmetric(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, arm_compute::QASYMM8, SimpleTensor< T >::shape(), and arm_compute::U8.
| template SimpleTensor<float> arm_compute::test::validation::reference::compute_all_anchors | ( | const SimpleTensor< float > & | anchors, |
| const ComputeAnchorsInfo & | info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::compute_all_anchors | ( | const SimpleTensor< half > & | anchors, |
| const ComputeAnchorsInfo & | info | ||
| ) |
| SimpleTensor<int16_t> arm_compute::test::validation::reference::compute_all_anchors | ( | const SimpleTensor< int16_t > & | anchors, |
| const ComputeAnchorsInfo & | info | ||
| ) |
Definition at line 81 of file ComputeAllAnchors.cpp.
References compute_all_anchors(), arm_compute::test::validation::convert_from_symmetric(), arm_compute::test::validation::info, and SimpleTensor< T >::quantization_info().
| SimpleTensor< T > compute_all_anchors | ( | const SimpleTensor< T > & | anchors, |
| const ComputeAnchorsInfo & | info | ||
| ) |
Definition at line 40 of file ComputeAllAnchors.cpp.
References SimpleTensor< T >::data(), SimpleTensor< T >::data_type(), arm_compute::test::validation::info, and SimpleTensor< T >::shape().
Referenced by compute_all_anchors().
| void arm_compute::test::validation::reference::compute_min_max | ( | const SimpleTensor< T > & | src, |
| T & | min, | ||
| T & | max | ||
| ) |
Definition at line 35 of file MinMaxLocation.cpp.
References ARM_COMPUTE_ERROR_ON, and arm_compute::test::validation::src.
| SimpleTensor<OT> arm_compute::test::validation::reference::compute_reduction_operation | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type, | ||
| RoundingPolicy | policy | ||
| ) |
Definition at line 184 of file ReductionOperation.cpp.
References arm_compute::ARG_IDX_MAX, arm_compute::ARG_IDX_MIN, ARM_COMPUTE_ERROR, arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::concatenate_layer | ( | std::vector< SimpleTensor< float >> & | srcs, |
| SimpleTensor< float > & | dst, | ||
| unsigned int | axis | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::concatenate_layer | ( | std::vector< SimpleTensor< half >> & | srcs, |
| SimpleTensor< half > & | dst, | ||
| unsigned int | axis | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::concatenate_layer | ( | std::vector< SimpleTensor< int8_t >> & | srcs, |
| SimpleTensor< int8_t > & | dst, | ||
| unsigned int | axis | ||
| ) |
| SimpleTensor< T > concatenate_layer | ( | std::vector< SimpleTensor< T >> & | srcs, |
| SimpleTensor< T > & | dst, | ||
| unsigned int | axis | ||
| ) |
Definition at line 116 of file ConcatenateLayer.cpp.
References ARM_COMPUTE_ERROR, Window::DimX, Window::DimY, Window::DimZ, arm_compute::test::validation::dst, tf_frozen_model_extractor::t, and arm_compute::utils::cast::U.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::concatenate_layer | ( | std::vector< SimpleTensor< uint8_t >> & | srcs, |
| SimpleTensor< uint8_t > & | dst, | ||
| unsigned int | axis | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::conv2d_dft | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | w, | ||
| const PadStrideInfo & | conv_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::conv2d_dft | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | w, | ||
| const PadStrideInfo & | conv_info | ||
| ) |
| SimpleTensor< T > conv2d_dft | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | w, | ||
| const PadStrideInfo & | conv_info | ||
| ) |
Performs and DFT based convolution on a real input.
| [in] | src | Source tensor. |
| [in] | w | Weights tensor. |
| [in] | conv_info | Convolution related metadata. |
Definition at line 396 of file DFT.cpp.
References arm_compute::test::validation::conv_info, copy(), pad_layer(), rdft_2d(), reverse(), ridft_2d(), arm_compute::S32, slice(), arm_compute::test::validation::src, arm_compute::utils::cast::U, and arm_compute::test::validation::w.
| SimpleTensor< T > conv3d | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | weights, | ||
| const SimpleTensor< TB > & | bias, | ||
| SimpleTensor< T > & | dst, | ||
| const Conv3dInfo & | conv3d_info | ||
| ) |
Definition at line 193 of file Conv3D.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_UNUSED, batch_dim, bias, channel_dim, arm_compute::misc::shape_calculator::compute_conv3d_shape(), arm_compute::test::coord2index(), depth_dim, Conv3dInfo::dilation, arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, Padding3D::front, height_dim, Padding3D::left, Conv3dInfo::padding, SimpleTensor< T >::shape(), arm_compute::test::validation::src, Conv3dInfo::stride, Padding3D::top, weights_CHin_dim, weights_CHout_dim, width_dim, Size3D::x(), Size3D::y(), and Size3D::z().
| template SimpleTensor<float> arm_compute::test::validation::reference::conv3d< float, float, float > | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | weights, | ||
| const SimpleTensor< float > & | bias, | ||
| SimpleTensor< float > & | dst, | ||
| const Conv3dInfo & | conv3d_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::conv3d< half, half, float > | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | weights, | ||
| const SimpleTensor< half > & | bias, | ||
| SimpleTensor< half > & | dst, | ||
| const Conv3dInfo & | conv3d_info | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::conv3d< int8_t, int32_t, int32_t > | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| SimpleTensor< int8_t > & | dst, | ||
| const Conv3dInfo & | conv3d_info | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::conv3d< uint8_t, int32_t, int32_t > | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| SimpleTensor< uint8_t > & | dst, | ||
| const Conv3dInfo & | conv3d_info | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::convert_fully_connected_weights | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | original_input_shape, | ||
| const DataLayout | training_data_layout | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::convert_fully_connected_weights | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | original_input_shape, | ||
| const DataLayout | training_data_layout | ||
| ) |
| SimpleTensor< T > convert_fully_connected_weights | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | original_input_shape, | ||
| const DataLayout | training_data_layout | ||
| ) |
Definition at line 35 of file ConvertFullyConnectedWeights.cpp.
References arm_compute::CHANNEL, arm_compute::cpu::channel_idx, arm_compute::coords2index(), arm_compute::test::validation::dst, arm_compute::get_data_layout_dimension_index(), arm_compute::HEIGHT, arm_compute::cpu::height_idx, arm_compute::index2coords(), arm_compute::NCHW, arm_compute::NHWC, arm_compute::test::validation::src, arm_compute::WIDTH, arm_compute::cpu::width_idx, Dimensions< T >::x(), and Dimensions< T >::y().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::convert_fully_connected_weights | ( | const SimpleTensor< uint8_t > & | src, |
| const TensorShape & | original_input_shape, | ||
| const DataLayout | training_data_layout | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::convolution_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | weights, | ||
| const SimpleTensor< float > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::convolution_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | weights, | ||
| const SimpleTensor< half > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::convolution_layer | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| SimpleTensor< T > convolution_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< TW > & | weights, | ||
| const SimpleTensor< TB > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
Definition at line 111 of file ConvolutionLayer.cpp.
References bias, convolution_layer_nchw(), arm_compute::test::validation::dst, arm_compute::test::validation::info, arm_compute::test::validation::num_groups, arm_compute::test::validation::output_shape, and arm_compute::test::validation::src.
Referenced by deconvolution_layer(), and arm_compute::test::validation::TEST_CASE().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::convolution_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::convolution_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| SimpleTensor<T> arm_compute::test::validation::reference::convolution_layer_nchw | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< TW > & | weights, | ||
| const SimpleTensor< TB > & | bias, | ||
| SimpleTensor< T > & | dst, | ||
| const PadStrideInfo & | info, | ||
| const Size2D & | dilation, | ||
| unsigned int | num_groups | ||
| ) |
Definition at line 45 of file ConvolutionLayer.cpp.
References ARM_COMPUTE_ASSERT, ARM_COMPUTE_ERROR_ON, bias, arm_compute::test::convolution_3d::detail::convolution3d(), arm_compute::test::validation::dst, arm_compute::test::validation::info, arm_compute::test::validation::num_groups, arm_compute::test::validation::output_wh, arm_compute::scaled_dimensions(), SimpleTensor< T >::shape(), arm_compute::test::validation::src, Size2D::x(), and Size2D::y().
Referenced by convolution_layer().
| template SimpleTensor<float> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< int16_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< int32_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< int8_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| SimpleTensor< T > copy | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | output_shape | ||
| ) |
Definition at line 37 of file Copy.cpp.
References ARM_COMPUTE_ERROR_ON_MISMATCHING_DIMENSIONS, arm_compute::test::validation::dst, arm_compute::test::validation::output_shape, and arm_compute::test::validation::src.
Referenced by channel_shuffle(), Dimensions< size_t >::collapse(), TensorShape::collapsed_from(), conv2d_dft(), depthconcatenate_layer(), flatten_layer(), gemm_reshape_lhs_matrix(), gemm_reshape_rhs_matrix(), arm_compute::test::validation::get_tile(), arm_compute::utils::memory::make_deep_unique(), Dimensions< size_t >::remove(), and TensorShape::remove_dimension().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< uint16_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< uint32_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::copy | ( | const SimpleTensor< uint8_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< int16_t > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< int32_t > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| SimpleTensor< float > crop_and_resize | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
Definition at line 160 of file CropResize.cpp.
References ARM_COMPUTE_ERROR_ON, SimpleTensor< T >::data(), arm_compute::mlgo::parser::end(), arm_compute::F32, arm_compute::NHWC, SimpleTensor< T >::num_elements(), SimpleTensor< T >::shape(), arm_compute::test::validation::src, Coordinates2D::x, and Coordinates2D::y.
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< uint16_t > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< uint32_t > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::crop_and_resize | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< float > & | boxes, | ||
| SimpleTensor< int32_t > | box_ind, | ||
| Coordinates2D | crop_size, | ||
| InterpolationPolicy | method, | ||
| float | extrapolation_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::deconvolution_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | weights, | ||
| const SimpleTensor< float > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::deconvolution_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | weights, | ||
| const SimpleTensor< half > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::deconvolution_layer | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| SimpleTensor< T > deconvolution_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< TW > & | weights, | ||
| const SimpleTensor< TB > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| QuantizationInfo | out_qinfo = QuantizationInfo() |
||
| ) |
Deconvolution reference implementation.
src Input tensor. 3 lower dimensions represent a single input, and an optional 4th dimension for batch of inputs. Data types supported: QASYMM8/QASYMM8_SIGNED/F32/F16. weights The 4d weights with dimensions [width, height, OFM, IFM]. Data type supported: Same as input, also could be QSYMM8_PER_CHANNEL if input is QASYMM8/QASYMM8_SIGNED. bias Optional, ignored if NULL. The biases have one dimension. Data type supported: Same as input, except for input of QASYMM8/QASYMM8_SIGNED types where biases should be of S32 type output_shape Output tensor shape. The output has the same number of dimensions as the input. info Contains padding and policies to be used in the deconvolution, this is decribed in PadStrideInfo. a The number of zeros added to right and top edges of the input.
Definition at line 37 of file DeconvolutionLayer.cpp.
References ARM_COMPUTE_ERROR_ON, bias, arm_compute::CEIL, arm_compute::test::validation::conv_info, convolution_layer(), SimpleTensor< T >::data_layout(), SimpleTensor< T >::data_type(), arm_compute::test::validation::info, offset(), arm_compute::test::validation::output_shape, arm_compute::QASYMM8, arm_compute::QASYMM8_SIGNED, SimpleTensor< T >::quantization_info(), TensorShape::set(), SimpleTensor< T >::shape(), slice(), arm_compute::test::validation::src, arm_compute::utils::cast::U, Dimensions< T >::x(), and Dimensions< T >::y().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::deconvolution_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::deconvolution_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | output_shape, | ||
| const PadStrideInfo & | info, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<bfloat16> arm_compute::test::validation::reference::depth_convert | ( | const SimpleTensor< bfloat16 > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< bfloat16 > depth_convert | ( | const SimpleTensor< float > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< half > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< int16_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< int32_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< int64_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< int8_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| SimpleTensor< T2 > depth_convert | ( | const SimpleTensor< T1 > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
Definition at line 42 of file DepthConvertLayer.cpp.
References arm_compute::element_size_from_data_type(), arm_compute::SATURATE, and arm_compute::test::validation::src.
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< uint16_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< uint32_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< uint64_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor< float > depth_convert | ( | const SimpleTensor< uint8_t > & | src, |
| DataType | dt_out, | ||
| ConvertPolicy | policy, | ||
| uint32_t | shift | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::depth_to_space | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | dst_shape, | ||
| int32_t | block_shape | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::depth_to_space | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | dst_shape, | ||
| int32_t | block_shape | ||
| ) |
| SimpleTensor< T > depth_to_space | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | dst_shape, | ||
| int32_t | block_shape | ||
| ) |
Definition at line 38 of file DepthToSpaceLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::b, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::depthconcatenate_layer | ( | const std::vector< SimpleTensor< float >> & | srcs, |
| SimpleTensor< float > & | dst | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::depthconcatenate_layer | ( | const std::vector< SimpleTensor< half >> & | srcs, |
| SimpleTensor< half > & | dst | ||
| ) |
| SimpleTensor< T > depthconcatenate_layer | ( | const std::vector< SimpleTensor< T >> & | srcs, |
| SimpleTensor< T > & | dst | ||
| ) |
Definition at line 37 of file DepthConcatenateLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::b, batches, copy(), arm_compute::test::validation::data_type, arm_compute::dequantize_qasymm8(), arm_compute::test::validation::dst, arm_compute::QASYMM8, arm_compute::quantize_qasymm8(), slice(), arm_compute::test::validation::src, tf_frozen_model_extractor::t, and tensor.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::depthconcatenate_layer | ( | const std::vector< SimpleTensor< uint8_t >> & | srcs, |
| SimpleTensor< uint8_t > & | dst | ||
| ) |
| SimpleTensor<float> arm_compute::test::validation::reference::depthwise_convolution | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | weights, | ||
| const SimpleTensor< float > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | conv_info, | ||
| unsigned int | depth_multiplier, | ||
| const Size2D & | dilation, | ||
| const QuantizationInfo & | out_quant_info | ||
| ) |
Definition at line 238 of file DepthwiseConvolutionLayer.cpp.
References arm_compute::test::validation::conv_info, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
Referenced by arm_compute::test::validation::TEST_CASE().
| SimpleTensor<half> arm_compute::test::validation::reference::depthwise_convolution | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | weights, | ||
| const SimpleTensor< half > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | conv_info, | ||
| unsigned int | depth_multiplier, | ||
| const Size2D & | dilation, | ||
| const QuantizationInfo & | out_quant_info | ||
| ) |
Definition at line 245 of file DepthwiseConvolutionLayer.cpp.
References arm_compute::test::validation::conv_info, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| SimpleTensor<int8_t> arm_compute::test::validation::reference::depthwise_convolution | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | conv_info, | ||
| unsigned int | depth_multiplier, | ||
| const Size2D & | dilation, | ||
| const QuantizationInfo & | out_quant_info | ||
| ) |
Definition at line 266 of file DepthwiseConvolutionLayer.cpp.
References arm_compute::test::validation::conv_info, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| SimpleTensor<T> arm_compute::test::validation::reference::depthwise_convolution | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< TW > & | weights, | ||
| const SimpleTensor< TB > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | conv_info, | ||
| unsigned int | depth_multiplier, | ||
| const Size2D & | dilation = Size2D(1U, 1U), |
||
| const QuantizationInfo & | out_quant_info = QuantizationInfo(0.0f, 0) |
||
| ) |
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::depthwise_convolution | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | conv_info, | ||
| unsigned int | depth_multiplier, | ||
| const Size2D & | dilation, | ||
| const QuantizationInfo & | out_quant_info | ||
| ) |
Definition at line 259 of file DepthwiseConvolutionLayer.cpp.
References arm_compute::test::validation::conv_info, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::depthwise_convolution | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | conv_info, | ||
| unsigned int | depth_multiplier, | ||
| const Size2D & | dilation, | ||
| const QuantizationInfo & | out_quant_info | ||
| ) |
Definition at line 252 of file DepthwiseConvolutionLayer.cpp.
References arm_compute::test::validation::conv_info, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| SimpleTensor<T> arm_compute::test::validation::reference::depthwise_separable_convolution_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | depthwise_weights, | ||
| const SimpleTensor< T > & | depthwise_biases, | ||
| const TensorShape & | depthwise_out_shape, | ||
| const SimpleTensor< T > & | pointwise_weights, | ||
| const SimpleTensor< T > & | pointwise_biases, | ||
| const TensorShape & | dst_shape, | ||
| const PadStrideInfo & | depthwise_conv_info, | ||
| const PadStrideInfo & | pointwise_conv_info | ||
| ) |
| template SimpleTensor< float > dequantization_layer | ( | const SimpleTensor< int16_t > & | src | ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::dequantization_layer | ( | const SimpleTensor< int32_t > & | src | ) |
| template SimpleTensor< float > dequantization_layer | ( | const SimpleTensor< int8_t > & | src | ) |
| SimpleTensor< TOut > dequantization_layer | ( | const SimpleTensor< TIn > & | src | ) |
Definition at line 70 of file DequantizationLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::dst, arm_compute::F16, arm_compute::F32, arm_compute::is_data_type_quantized_per_channel(), N, UniformQuantizationInfo::offset, arm_compute::QSYMM8, and arm_compute::test::validation::src.
| template SimpleTensor< float > dequantization_layer | ( | const SimpleTensor< uint8_t > & | src | ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::dft_1d | ( | const SimpleTensor< float > & | src, |
| FFTDirection | direction | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::dft_1d | ( | const SimpleTensor< half > & | src, |
| FFTDirection | direction | ||
| ) |
| SimpleTensor< T > dft_1d | ( | const SimpleTensor< T > & | src, |
| FFTDirection | direction | ||
| ) |
Performs an one dimensional DFT on a complex input.
| [in] | src | Source tensor. |
| [in] | direction | Direction of the DFT. |
Definition at line 330 of file DFT.cpp.
References arm_compute::test::validation::dst, Inverse, scale(), and arm_compute::test::validation::src.
Referenced by arm_compute::test::validation::DATA_TEST_CASE().
| template SimpleTensor<float> arm_compute::test::validation::reference::dft_2d | ( | const SimpleTensor< float > & | src, |
| FFTDirection | direction | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::dft_2d | ( | const SimpleTensor< half > & | src, |
| FFTDirection | direction | ||
| ) |
| SimpleTensor< T > dft_2d | ( | const SimpleTensor< T > & | src, |
| FFTDirection | direction | ||
| ) |
Performs a two dimensional DFT on a complex input.
| [in] | src | Source tensor. |
| [in] | direction | Direction of the DFT. |
Definition at line 370 of file DFT.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::dst, Forward, permute(), scale(), arm_compute::test::validation::src, and arm_compute::utils::cast::U.
Referenced by arm_compute::test::validation::DATA_TEST_CASE().
| template SimpleTensor<float> arm_compute::test::validation::reference::elementwise_unary | ( | const SimpleTensor< float > & | src, |
| SimpleTensor< float > & | dst, | ||
| ElementWiseUnary | op | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::elementwise_unary | ( | const SimpleTensor< half > & | src, |
| SimpleTensor< half > & | dst, | ||
| ElementWiseUnary | op | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::elementwise_unary | ( | const SimpleTensor< int32_t > & | src, |
| SimpleTensor< int32_t > & | dst, | ||
| ElementWiseUnary | op | ||
| ) |
| SimpleTensor<int8_t> arm_compute::test::validation::reference::elementwise_unary | ( | const SimpleTensor< int8_t > & | src, |
| SimpleTensor< int8_t > & | dst, | ||
| ElementWiseUnary | op | ||
| ) |
Definition at line 70 of file ElementwiseUnary.cpp.
References ARM_COMPUTE_ERROR, arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, elementwise_unary(), arm_compute::F32, arm_compute::LOG, arm_compute::QASYMM8_SIGNED, arm_compute::RSQRT, and arm_compute::test::validation::src.
| SimpleTensor< T > elementwise_unary | ( | const SimpleTensor< T > & | src, |
| SimpleTensor< T > & | dst, | ||
| ElementWiseUnary | op | ||
| ) |
Definition at line 36 of file ElementwiseUnary.cpp.
References arm_compute::ABS, ARM_COMPUTE_ERROR, arm_compute::test::validation::dst, arm_compute::EXP, arm_compute::LOG, arm_compute::support::cpp11::nearbyint(), arm_compute::NEG, arm_compute::ROUND, arm_compute::RSQRT, arm_compute::SIN, and arm_compute::test::validation::src.
Referenced by elementwise_unary().
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::elementwise_unary | ( | const SimpleTensor< uint8_t > & | src, |
| SimpleTensor< uint8_t > & | dst, | ||
| ElementWiseUnary | op | ||
| ) |
Definition at line 117 of file ElementwiseUnary.cpp.
References ARM_COMPUTE_ERROR, arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, elementwise_unary(), arm_compute::F32, arm_compute::LOG, arm_compute::QASYMM8, arm_compute::RSQRT, and arm_compute::test::validation::src.
| SimpleTensor< T > erode | ( | const SimpleTensor< T > & | src, |
| BorderMode | border_mode, | ||
| T | constant_border_value | ||
| ) |
Definition at line 41 of file Erode.cpp.
References arm_compute::test::validation::dst, arm_compute::test::index2coord(), Dimensions< T >::set(), arm_compute::test::validation::src, arm_compute::test::validation::tensor_elem_at(), Dimensions< T >::x(), and Dimensions< T >::y().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::erode | ( | const SimpleTensor< uint8_t > & | src, |
| BorderMode | border_mode, | ||
| uint8_t | constant_border_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::flatten_layer | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | shape_flatten | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::flatten_layer | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | shape_flatten | ||
| ) |
| SimpleTensor< T > flatten_layer | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | shape_flatten | ||
| ) |
Definition at line 35 of file FlattenLayer.cpp.
References copy(), arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::floor_layer | ( | const SimpleTensor< float > & | src | ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::floor_layer | ( | const SimpleTensor< half > & | src | ) |
| SimpleTensor< T > floor_layer | ( | const SimpleTensor< T > & | src | ) |
Definition at line 39 of file Floor.cpp.
References arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::fully_connected_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | weights, | ||
| const SimpleTensor< float > & | bias, | ||
| const TensorShape & | dst_shape, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::fully_connected_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | weights, | ||
| const SimpleTensor< half > & | bias, | ||
| const TensorShape & | dst_shape, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::fully_connected_layer | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | dst_shape, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| SimpleTensor< T > fully_connected_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | weights, | ||
| const SimpleTensor< TB > & | bias, | ||
| const TensorShape & | dst_shape, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
Definition at line 115 of file FullyConnectedLayer.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_UNUSED, bias, arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, Dimensions< T >::num_dimensions(), SimpleTensor< T >::shape(), arm_compute::test::validation::src, and TensorShape::total_size_upper().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::fully_connected_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | weights, | ||
| const SimpleTensor< int32_t > & | bias, | ||
| const TensorShape & | dst_shape, | ||
| QuantizationInfo | out_quant_info | ||
| ) |
| template void arm_compute::test::validation::reference::fuse_batch_normalization_conv_layer | ( | const SimpleTensor< float > & | w, |
| const SimpleTensor< float > & | mean, | ||
| const SimpleTensor< float > & | var, | ||
| SimpleTensor< float > & | w_fused, | ||
| SimpleTensor< float > & | b_fused, | ||
| const SimpleTensor< float > & | b, | ||
| const SimpleTensor< float > & | beta, | ||
| const SimpleTensor< float > & | gamma, | ||
| float | epsilon | ||
| ) |
| template void arm_compute::test::validation::reference::fuse_batch_normalization_conv_layer | ( | const SimpleTensor< half > & | w, |
| const SimpleTensor< half > & | mean, | ||
| const SimpleTensor< half > & | var, | ||
| SimpleTensor< half > & | w_fused, | ||
| SimpleTensor< half > & | b_fused, | ||
| const SimpleTensor< half > & | b, | ||
| const SimpleTensor< half > & | beta, | ||
| const SimpleTensor< half > & | gamma, | ||
| float | epsilon | ||
| ) |
| void fuse_batch_normalization_conv_layer | ( | const SimpleTensor< T > & | w, |
| const SimpleTensor< T > & | mean, | ||
| const SimpleTensor< T > & | var, | ||
| SimpleTensor< T > & | w_fused, | ||
| SimpleTensor< T > & | b_fused, | ||
| const SimpleTensor< T > & | b, | ||
| const SimpleTensor< T > & | beta, | ||
| const SimpleTensor< T > & | gamma, | ||
| float | epsilon | ||
| ) |
Definition at line 71 of file FuseBatchNormalization.cpp.
References arm_compute::test::validation::b, SimpleTensor< T >::data(), arm_compute::quantization::epsilon, and arm_compute::test::validation::w.
| template void arm_compute::test::validation::reference::fuse_batch_normalization_dwc_layer | ( | const SimpleTensor< float > & | w, |
| const SimpleTensor< float > & | mean, | ||
| const SimpleTensor< float > & | var, | ||
| SimpleTensor< float > & | w_fused, | ||
| SimpleTensor< float > & | b_fused, | ||
| const SimpleTensor< float > & | b, | ||
| const SimpleTensor< float > & | beta, | ||
| const SimpleTensor< float > & | gamma, | ||
| float | epsilon | ||
| ) |
| template void arm_compute::test::validation::reference::fuse_batch_normalization_dwc_layer | ( | const SimpleTensor< half > & | w, |
| const SimpleTensor< half > & | mean, | ||
| const SimpleTensor< half > & | var, | ||
| SimpleTensor< half > & | w_fused, | ||
| SimpleTensor< half > & | b_fused, | ||
| const SimpleTensor< half > & | b, | ||
| const SimpleTensor< half > & | beta, | ||
| const SimpleTensor< half > & | gamma, | ||
| float | epsilon | ||
| ) |
| void fuse_batch_normalization_dwc_layer | ( | const SimpleTensor< T > & | w, |
| const SimpleTensor< T > & | mean, | ||
| const SimpleTensor< T > & | var, | ||
| SimpleTensor< T > & | w_fused, | ||
| SimpleTensor< T > & | b_fused, | ||
| const SimpleTensor< T > & | b, | ||
| const SimpleTensor< T > & | beta, | ||
| const SimpleTensor< T > & | gamma, | ||
| float | epsilon | ||
| ) |
Definition at line 36 of file FuseBatchNormalization.cpp.
References arm_compute::test::validation::b, SimpleTensor< T >::data(), arm_compute::quantization::epsilon, and arm_compute::test::validation::w.
| template SimpleTensor<float> arm_compute::test::validation::reference::gather | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< uint32_t > & | indices, | ||
| uint32_t | actual_axis | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::gather | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< uint32_t > & | indices, | ||
| uint32_t | actual_axis | ||
| ) |
| SimpleTensor< T > gather | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< uint32_t > & | indices, | ||
| uint32_t | actual_axis | ||
| ) |
Definition at line 40 of file Gather.cpp.
References arm_compute::misc::shape_calculator::compute_gather_shape(), arm_compute::coords2index(), SimpleTensor< T >::data(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::execute_window_loop(), Dimensions< T >::set(), SimpleTensor< T >::shape(), arm_compute::test::validation::src, and Window::use_tensor_dimensions().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::gather | ( | const SimpleTensor< uint16_t > & | src, |
| const SimpleTensor< uint32_t > & | indices, | ||
| uint32_t | actual_axis | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::gather | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint32_t > & | indices, | ||
| uint32_t | actual_axis | ||
| ) |
| template SimpleTensor<bfloat16> arm_compute::test::validation::reference::gemm | ( | const SimpleTensor< bfloat16 > & | a, |
| const SimpleTensor< bfloat16 > & | b, | ||
| const SimpleTensor< bfloat16 > & | c, | ||
| float | alpha, | ||
| float | beta | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::gemm | ( | const SimpleTensor< float > & | a, |
| const SimpleTensor< float > & | b, | ||
| const SimpleTensor< float > & | c, | ||
| float | alpha, | ||
| float | beta | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::gemm | ( | const SimpleTensor< half > & | a, |
| const SimpleTensor< half > & | b, | ||
| const SimpleTensor< half > & | c, | ||
| float | alpha, | ||
| float | beta | ||
| ) |
| SimpleTensor< T > gemm | ( | const SimpleTensor< T > & | a, |
| const SimpleTensor< T > & | b, | ||
| const SimpleTensor< T > & | c, | ||
| float | alpha, | ||
| float | beta | ||
| ) |
Definition at line 40 of file GEMM.cpp.
References arm_compute::test::validation::b, SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, K, M, N, SimpleTensor< T >::shape(), and arm_compute::test::validation::w.
Referenced by gemm_accumulate().
| template void arm_compute::test::validation::reference::gemm_accumulate | ( | const SimpleTensor< float > & | a, |
| const SimpleTensor< float > & | b, | ||
| const SimpleTensor< float > & | c, | ||
| float | alpha, | ||
| float | beta, | ||
| SimpleTensor< float > & | dst | ||
| ) |
| template void arm_compute::test::validation::reference::gemm_accumulate | ( | const SimpleTensor< half > & | a, |
| const SimpleTensor< half > & | b, | ||
| const SimpleTensor< half > & | c, | ||
| float | alpha, | ||
| float | beta, | ||
| SimpleTensor< half > & | dst | ||
| ) |
| void gemm_accumulate | ( | const SimpleTensor< T > & | a, |
| const SimpleTensor< T > & | b, | ||
| const SimpleTensor< T > & | c, | ||
| float | alpha, | ||
| float | beta, | ||
| SimpleTensor< T > & | dst | ||
| ) |
Definition at line 185 of file GEMM.cpp.
References ADD, arm_compute::test::validation::b, arm_compute::test::validation::dst, gemm(), and arm_compute::SATURATE.
| SimpleTensor<T> arm_compute::test::validation::reference::gemm_interleave_4x4 | ( | const SimpleTensor< T > & | in, |
| SimpleTensor< T > & | out | ||
| ) |
Definition at line 37 of file GEMMInterleave4x4.h.
References SimpleTensor< T >::data(), arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| SimpleTensor<T> arm_compute::test::validation::reference::gemm_interleave_blocked | ( | const SimpleTensor< T > & | in, |
| SimpleTensor< T > & | out, | ||
| int | int_by, | ||
| int | block, | ||
| bool | transposed | ||
| ) |
Definition at line 50 of file GEMMInterleaveBlocked.h.
References M, N, safe_read(), and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::gemm_interleave_blocked | ( | const SimpleTensor< uint8_t > & | in, |
| SimpleTensor< uint8_t > & | out, | ||
| int | int_by, | ||
| int | block, | ||
| bool | transposed | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::gemm_mixed_precision | ( | const SimpleTensor< half > & | a, |
| const SimpleTensor< half > & | b, | ||
| const SimpleTensor< half > & | c, | ||
| float | alpha, | ||
| float | beta | ||
| ) |
| SimpleTensor< T > gemm_mixed_precision | ( | const SimpleTensor< T > & | a, |
| const SimpleTensor< T > & | b, | ||
| const SimpleTensor< T > & | c, | ||
| float | alpha, | ||
| float | beta | ||
| ) |
Definition at line 111 of file GEMM.cpp.
References arm_compute::test::validation::b, SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, K, M, N, SimpleTensor< T >::shape(), and arm_compute::test::validation::w.
| template SimpleTensor<char> arm_compute::test::validation::reference::gemm_reshape_lhs_matrix | ( | const SimpleTensor< char > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMLHSMatrixInfo & | lhs_info | ||
| ) |
| template SimpleTensor<int> arm_compute::test::validation::reference::gemm_reshape_lhs_matrix | ( | const SimpleTensor< int > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMLHSMatrixInfo & | lhs_info | ||
| ) |
| template SimpleTensor<short> arm_compute::test::validation::reference::gemm_reshape_lhs_matrix | ( | const SimpleTensor< short > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMLHSMatrixInfo & | lhs_info | ||
| ) |
| SimpleTensor< T > gemm_reshape_lhs_matrix | ( | const SimpleTensor< T > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMLHSMatrixInfo & | lhs_info | ||
| ) |
Definition at line 43 of file GEMMReshapeLHSMatrix.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::B, copy(), SimpleTensor< T >::data_type(), GEMMLHSMatrixInfo::interleave, K, GEMMLHSMatrixInfo::k0, M, GEMMLHSMatrixInfo::m0, arm_compute::test::validation::output_shape, SimpleTensor< T >::shape(), GEMMLHSMatrixInfo::transpose, and GEMMLHSMatrixInfo::v0.
| template SimpleTensor<char> arm_compute::test::validation::reference::gemm_reshape_rhs_matrix | ( | const SimpleTensor< char > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMRHSMatrixInfo & | rhs_info | ||
| ) |
| template SimpleTensor<int> arm_compute::test::validation::reference::gemm_reshape_rhs_matrix | ( | const SimpleTensor< int > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMRHSMatrixInfo & | rhs_info | ||
| ) |
| template SimpleTensor<short> arm_compute::test::validation::reference::gemm_reshape_rhs_matrix | ( | const SimpleTensor< short > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMRHSMatrixInfo & | rhs_info | ||
| ) |
| SimpleTensor< T > gemm_reshape_rhs_matrix | ( | const SimpleTensor< T > & | in, |
| const TensorShape & | output_shape, | ||
| const GEMMRHSMatrixInfo & | rhs_info | ||
| ) |
Definition at line 43 of file GEMMReshapeRHSMatrix.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::B, copy(), SimpleTensor< T >::data_type(), GEMMRHSMatrixInfo::h0, GEMMRHSMatrixInfo::interleave, K, GEMMRHSMatrixInfo::k0, N, GEMMRHSMatrixInfo::n0, arm_compute::test::validation::output_shape, SimpleTensor< T >::shape(), and GEMMRHSMatrixInfo::transpose.
| SimpleTensor<T> arm_compute::test::validation::reference::gemm_transpose_1xW | ( | const SimpleTensor< T > & | in | ) |
Definition at line 37 of file GEMMTranspose1xW.h.
References SimpleTensor< T >::data(), SimpleTensor< T >::data_type(), and SimpleTensor< T >::shape().
| SimpleTensor< T1 > gemmlowp | ( | const SimpleTensor< T2 > & | a, |
| const SimpleTensor< T3 > & | b, | ||
| TensorShape | shape_c | ||
| ) |
Definition at line 243 of file GEMMLowp.cpp.
References arm_compute::test::validation::b.
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::gemmlowp< int32_t, int8_t, int8_t > | ( | const SimpleTensor< int8_t > & | a, |
| const SimpleTensor< int8_t > & | b, | ||
| TensorShape | shape_c | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::gemmlowp< int32_t, uint8_t, int8_t > | ( | const SimpleTensor< uint8_t > & | a, |
| const SimpleTensor< int8_t > & | b, | ||
| TensorShape | shape_c | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::gemmlowp< int32_t, uint8_t, uint8_t > | ( | const SimpleTensor< uint8_t > & | a, |
| const SimpleTensor< uint8_t > & | b, | ||
| TensorShape | shape_c | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core | ( | const SimpleTensor< int8_t > & | a, |
| const SimpleTensor< int8_t > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset | ||
| ) |
| SimpleTensor<T1> arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core | ( | const SimpleTensor< T2 > & | a, |
| const SimpleTensor< T3 > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset | ||
| ) |
| SimpleTensor<T_out> arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core | ( | const SimpleTensor< T_in > & | a, |
| const SimpleTensor< T_in_1 > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset | ||
| ) |
Definition at line 182 of file GEMMLowp.cpp.
References arm_compute::test::validation::b, dt, K, M, N, arm_compute::S32, SimpleTensor< T >::shape(), type, and arm_compute::U32.
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core | ( | const SimpleTensor< uint8_t > & | a, |
| const SimpleTensor< uint8_t > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset | ||
| ) |
| template void arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core_accumulate | ( | const SimpleTensor< int8_t > & | a, |
| const SimpleTensor< int8_t > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset, | ||
| SimpleTensor< int32_t > & | dst | ||
| ) |
| void arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core_accumulate | ( | const SimpleTensor< T2 > & | a, |
| const SimpleTensor< T3 > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset, | ||
| SimpleTensor< T1 > & | dst_ | ||
| ) |
| void arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core_accumulate | ( | const SimpleTensor< T_in > & | a, |
| const SimpleTensor< T_in_1 > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset, | ||
| SimpleTensor< T_out > & | dst | ||
| ) |
Definition at line 235 of file GEMMLowp.cpp.
References ADD, arm_compute::test::validation::b, arm_compute::test::validation::dst, and arm_compute::SATURATE.
| template void arm_compute::test::validation::reference::gemmlowp_matrix_multiply_core_accumulate | ( | const SimpleTensor< uint8_t > & | a, |
| const SimpleTensor< uint8_t > & | b, | ||
| TensorShape | shape_c, | ||
| int32_t | a_offset, | ||
| int32_t | b_offset, | ||
| SimpleTensor< int32_t > & | dst | ||
| ) |
| template SimpleTensor< int8_t > gemmlowp_quantize_down_scale | ( | const SimpleTensor< int32_t > & | a, |
| const SimpleTensor< int32_t > & | b, | ||
| int32_t | result_offset, | ||
| std::vector< int32_t > | result_mult_int, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
| template SimpleTensor< int8_t > gemmlowp_quantize_down_scale | ( | const SimpleTensor< int32_t > & | a, |
| int32_t | result_offset, | ||
| std::vector< int32_t > | result_mult_int, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
| SimpleTensor< TOut > gemmlowp_quantize_down_scale | ( | const SimpleTensor< TIn > & | in, |
| const SimpleTensor< TIn > & | bias, | ||
| int32_t | result_offset, | ||
| std::vector< int32_t > | result_mult_int, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
Definition at line 260 of file GEMMLowp.cpp.
References bias, arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::gemmlowp_quantize_down_scale | ( | const SimpleTensor< TIn > & | in, |
| int32_t | result_offset, | ||
| std::vector< int32_t > | result_mult_int, | ||
| std::vector< int32_t > | result_shift | ||
| ) |
| SimpleTensor< TOut > gemmlowp_quantize_down_scale | ( | const SimpleTensor< TIn > & | in, |
| int32_t | result_offset, | ||
| std::vector< int32_t > | result_mult_int, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
Definition at line 249 of file GEMMLowp.cpp.
References arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| template SimpleTensor< int16_t > gemmlowp_quantize_down_scale_by_fixedpoint | ( | const SimpleTensor< int32_t > & | a, |
| const SimpleTensor< int32_t > & | b, | ||
| std::vector< int32_t > | result_fixedpoint_multiplier, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | result_offset_after_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
| template SimpleTensor< int16_t > gemmlowp_quantize_down_scale_by_fixedpoint | ( | const SimpleTensor< int32_t > & | a, |
| std::vector< int32_t > | result_fixedpoint_multiplier, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | result_offset_after_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
| SimpleTensor< TOut > gemmlowp_quantize_down_scale_by_fixedpoint | ( | const SimpleTensor< TIn > & | in, |
| const SimpleTensor< TIn > & | bias, | ||
| std::vector< int32_t > | result_fixedpoint_multiplier, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | result_offset_after_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
Definition at line 282 of file GEMMLowp.cpp.
References bias, arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| SimpleTensor< TOut > gemmlowp_quantize_down_scale_by_fixedpoint | ( | const SimpleTensor< TIn > & | in, |
| std::vector< int32_t > | result_fixedpoint_multiplier, | ||
| std::vector< int32_t > | result_shift, | ||
| int32_t | result_offset_after_shift, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
Definition at line 271 of file GEMMLowp.cpp.
References arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| template SimpleTensor< int8_t > gemmlowp_quantize_down_scale_by_float | ( | const SimpleTensor< int32_t > & | a, |
| const SimpleTensor< int32_t > & | b, | ||
| std::vector< float_t > | result_real_multiplier, | ||
| int32_t | result_offset, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
| template SimpleTensor< int8_t > gemmlowp_quantize_down_scale_by_float | ( | const SimpleTensor< int32_t > & | a, |
| std::vector< float_t > | result_real_multiplier, | ||
| int32_t | result_offset, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
| SimpleTensor< TOut > gemmlowp_quantize_down_scale_by_float | ( | const SimpleTensor< TIn > & | in, |
| const SimpleTensor< TIn > & | bias, | ||
| std::vector< float_t > | result_real_multiplier, | ||
| int32_t | result_offset, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
Definition at line 293 of file GEMMLowp.cpp.
References bias, arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| SimpleTensor< TOut > gemmlowp_quantize_down_scale_by_float | ( | const SimpleTensor< TIn > & | in, |
| std::vector< float_t > | result_real_multiplier, | ||
| int32_t | result_offset, | ||
| int32_t | min, | ||
| int32_t | max | ||
| ) |
Definition at line 304 of file GEMMLowp.cpp.
References arm_compute::test::validation::data_type, arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| template void arm_compute::test::validation::reference::im2col | ( | const SimpleTensor< float > & | src, |
| SimpleTensor< float > & | dst, | ||
| const Size2D & | kernel_dims, | ||
| const PadStrideInfo & | conv_info, | ||
| bool | has_bias, | ||
| unsigned int | num_groups | ||
| ) |
| template void arm_compute::test::validation::reference::im2col | ( | const SimpleTensor< half > & | src, |
| SimpleTensor< half > & | dst, | ||
| const Size2D & | kernel_dims, | ||
| const PadStrideInfo & | conv_info, | ||
| bool | has_bias, | ||
| unsigned int | num_groups | ||
| ) |
| void im2col | ( | const SimpleTensor< T > & | src, |
| SimpleTensor< T > & | dst, | ||
| const Size2D & | kernel_dims, | ||
| const PadStrideInfo & | conv_info, | ||
| bool | has_bias, | ||
| unsigned int | num_groups | ||
| ) |
Definition at line 144 of file Im2Col.cpp.
References ARM_COMPUTE_ERROR, arm_compute::test::validation::conv_info, arm_compute::test::validation::dst, arm_compute::test::validation::has_bias, im2col_nchw(), im2col_nhwc(), arm_compute::NCHW, arm_compute::NHWC, arm_compute::test::validation::num_groups, and arm_compute::test::validation::src.
| template void arm_compute::test::validation::reference::im2col | ( | const SimpleTensor< uint8_t > & | src, |
| SimpleTensor< uint8_t > & | dst, | ||
| const Size2D & | kernel_dims, | ||
| const PadStrideInfo & | conv_info, | ||
| bool | has_bias, | ||
| unsigned int | num_groups | ||
| ) |
| void arm_compute::test::validation::reference::im2col_nchw | ( | const SimpleTensor< T > & | src, |
| SimpleTensor< T > & | dst, | ||
| const Size2D & | kernel_dims, | ||
| const PadStrideInfo & | conv_info, | ||
| bool | has_bias, | ||
| unsigned int | num_groups | ||
| ) |
Definition at line 39 of file Im2Col.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::b, batches, ci, arm_compute::CONSTANT, arm_compute::test::validation::conv_info, arm_compute::test::validation::dst, arm_compute::test::validation::has_bias, Size2D::height, arm_compute::is_data_type_quantized_asymmetric(), arm_compute::NCHW, arm_compute::test::validation::num_groups, arm_compute::scaled_dimensions(), arm_compute::test::validation::src, arm_compute::test::validation::tensor_elem_at(), and Size2D::width.
Referenced by im2col().
| void arm_compute::test::validation::reference::im2col_nhwc | ( | const SimpleTensor< T > & | src, |
| SimpleTensor< T > & | dst, | ||
| const Size2D & | kernel_dims, | ||
| const PadStrideInfo & | conv_info, | ||
| bool | has_bias | ||
| ) |
Definition at line 93 of file Im2Col.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::b, batches, ci, arm_compute::CONSTANT, arm_compute::test::validation::conv_info, arm_compute::test::validation::dst, arm_compute::test::validation::has_bias, Size2D::height, arm_compute::is_data_type_quantized_asymmetric(), arm_compute::NHWC, arm_compute::scaled_dimensions(), arm_compute::test::validation::src, arm_compute::test::validation::tensor_elem_at(), and Size2D::width.
Referenced by im2col().
| SimpleTensor< int32_t > indirect_conv2d_addr_precalculation | ( | const TensorShape & | shape_conv_src, |
| const TensorShape & | shape_conv_wei, | ||
| const TensorShape & | shape_conv_dst, | ||
| const TensorShape & | shape_dst, | ||
| const PadStrideInfo & | conv_info | ||
| ) |
Definition at line 38 of file IndirectConv2dAddressPrecalculation.cpp.
References arm_compute::test::validation::conv_info, arm_compute::S32, and arm_compute::cpu::width_idx.
| template SimpleTensor<float> arm_compute::test::validation::reference::instance_normalization | ( | const SimpleTensor< float > & | src, |
| float | gamma, | ||
| float | beta, | ||
| float | epsilon | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::instance_normalization | ( | const SimpleTensor< half > & | src, |
| float | gamma, | ||
| float | beta, | ||
| float | epsilon | ||
| ) |
| SimpleTensor< T > instance_normalization | ( | const SimpleTensor< T > & | src, |
| float | gamma, | ||
| float | beta, | ||
| float | epsilon | ||
| ) |
Definition at line 40 of file InstanceNormalizationLayer.cpp.
References arm_compute::test::coord2index(), arm_compute::test::validation::dst, arm_compute::quantization::epsilon, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::l2_normalize | ( | const SimpleTensor< float > & | src, |
| unsigned int | axis, | ||
| float | epsilon | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::l2_normalize | ( | const SimpleTensor< half > & | src, |
| unsigned int | axis, | ||
| float | epsilon | ||
| ) |
| SimpleTensor< T > l2_normalize | ( | const SimpleTensor< T > & | src, |
| unsigned int | axis, | ||
| float | epsilon | ||
| ) |
Definition at line 51 of file L2NormalizeLayer.cpp.
References ARM_COMPUTE_ERROR, arm_compute::test::validation::dst, arm_compute::quantization::epsilon, SimpleTensor< T >::shape(), arm_compute::test::validation::src, and arm_compute::SUM_SQUARE.
| SimpleTensor< T > logical_and | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2 | ||
| ) |
Definition at line 108 of file Logical.cpp.
References arm_compute::And, TensorShape::broadcast_shape(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::logical_and | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2 | ||
| ) |
| T arm_compute::test::validation::reference::logical_binary_op | ( | arm_compute::LogicalOperation | op, |
| T | src1, | ||
| T | src2 | ||
| ) |
Definition at line 37 of file Logical.cpp.
References arm_compute::And, ARM_COMPUTE_ASSERT, arm_compute::Not, arm_compute::Or, and arm_compute::Unknown.
| SimpleTensor< T > logical_not | ( | const SimpleTensor< T > & | src | ) |
Definition at line 121 of file Logical.cpp.
References arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::logical_not | ( | const SimpleTensor< uint8_t > & | src1 | ) |
| SimpleTensor< T > logical_or | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2 | ||
| ) |
Definition at line 95 of file Logical.cpp.
References TensorShape::broadcast_shape(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, arm_compute::Or, and SimpleTensor< T >::shape().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::logical_or | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2 | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::max_unpooling_layer | ( | const SimpleTensor< float > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > & | indices, | ||
| TensorShape | output_shape, | ||
| DataLayout | data_layout | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::max_unpooling_layer | ( | const SimpleTensor< half > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > & | indices, | ||
| TensorShape | output_shape, | ||
| DataLayout | data_layout | ||
| ) |
| SimpleTensor< T > max_unpooling_layer | ( | const SimpleTensor< T > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > & | indices, | ||
| TensorShape | output_shape, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 92 of file MaxUnpoolingLayer.cpp.
References arm_compute::test::validation::data_layout, arm_compute::test::validation::info, arm_compute::test::validation::output_shape, and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::max_unpooling_layer< uint8_t > | ( | const SimpleTensor< uint8_t > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > & | indices, | ||
| TensorShape | output_shape, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 79 of file MaxUnpoolingLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::data_layout, arm_compute::test::validation::dst, arm_compute::test::validation::info, arm_compute::test::validation::output_shape, and arm_compute::test::validation::src.
| SimpleTensor<T> arm_compute::test::validation::reference::max_unpooling_layer_internal | ( | const SimpleTensor< T > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > & | indices, | ||
| TensorShape | output_shape, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 41 of file MaxUnpoolingLayer.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_UNUSED, arm_compute::test::validation::b, arm_compute::test::validation::data_layout, arm_compute::test::validation::dst, arm_compute::test::validation::info, arm_compute::test::validation::output_shape, SimpleTensor< T >::shape(), arm_compute::test::validation::src, and arm_compute::test::validation::w.
| template std::pair<float, float> arm_compute::test::validation::reference::mean_and_standard_deviation | ( | const SimpleTensor< float > & | in | ) |
| template std::pair<float, float> arm_compute::test::validation::reference::mean_and_standard_deviation | ( | const SimpleTensor< half > & | in | ) |
| std::pair< float, float > mean_and_standard_deviation | ( | const SimpleTensor< T > & | in | ) |
Definition at line 35 of file MeanStdDev.cpp.
References accumulate(), arm_compute::test::validation::b, SimpleTensor< T >::data(), and SimpleTensor< T >::num_elements().
| template std::pair<float, float> arm_compute::test::validation::reference::mean_and_standard_deviation | ( | const SimpleTensor< uint8_t > & | in | ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::mean_std_normalization_layer | ( | const SimpleTensor< float > & | src, |
| float | epsilon | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::mean_std_normalization_layer | ( | const SimpleTensor< half > & | src, |
| float | epsilon | ||
| ) |
| SimpleTensor< T > mean_std_normalization_layer | ( | const SimpleTensor< T > & | src, |
| float | epsilon | ||
| ) |
Definition at line 37 of file MeanStdDevNormalizationLayer.cpp.
References caffe_mnist_image_extractor::cols, arm_compute::test::validation::dst, arm_compute::quantization::epsilon, and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::mean_std_normalization_layer | ( | const SimpleTensor< uint8_t > & | src, |
| float | epsilon | ||
| ) |
Definition at line 65 of file MeanStdDevNormalizationLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, arm_compute::quantization::epsilon, and arm_compute::test::validation::src.
| template MinMaxLocationValues<float> arm_compute::test::validation::reference::min_max_location | ( | const SimpleTensor< float > & | src | ) |
| template MinMaxLocationValues<int16_t> arm_compute::test::validation::reference::min_max_location | ( | const SimpleTensor< int16_t > & | src | ) |
| MinMaxLocationValues< T > min_max_location | ( | const SimpleTensor< T > & | src | ) |
Definition at line 58 of file MinMaxLocation.cpp.
References arm_compute::test::validation::dst, arm_compute::test::validation::src, and Coordinates2D::x.
| template MinMaxLocationValues<uint8_t> arm_compute::test::validation::reference::min_max_location | ( | const SimpleTensor< uint8_t > & | src | ) |
| SimpleTensor< int > non_max_suppression | ( | const SimpleTensor< float > & | bboxes, |
| const SimpleTensor< float > & | scores, | ||
| SimpleTensor< int > & | indices, | ||
| unsigned int | max_output_size, | ||
| float | score_threshold, | ||
| float | nms_threshold | ||
| ) |
Definition at line 139 of file NonMaxSuppression.cpp.
References SimpleTensor< T >::data(), arm_compute::test::validation::output_size, and SimpleTensor< T >::shape().
| template SimpleTensor<float> arm_compute::test::validation::reference::non_maxima_suppression | ( | const SimpleTensor< float > & | src, |
| BorderMode | border_mode, | ||
| float | constant_border_value | ||
| ) |
| SimpleTensor< T > non_maxima_suppression | ( | const SimpleTensor< T > & | src, |
| BorderMode | border_mode, | ||
| T | constant_border_value | ||
| ) |
Definition at line 38 of file NonMaximaSuppression.cpp.
References arm_compute::test::validation::dst, arm_compute::test::index2coord(), arm_compute::test::is_in_valid_region(), arm_compute::test::shape_to_valid_region(), arm_compute::test::validation::src, arm_compute::test::validation::tensor_elem_at(), arm_compute::UNDEFINED, arm_compute::test::validation::valid_region, Dimensions< T >::x(), and Dimensions< T >::y().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::non_maxima_suppression | ( | const SimpleTensor< uint8_t > & | src, |
| BorderMode | border_mode, | ||
| uint8_t | constant_border_value | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::normalization_layer | ( | const SimpleTensor< float > & | src, |
| NormalizationLayerInfo | info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::normalization_layer | ( | const SimpleTensor< half > & | src, |
| NormalizationLayerInfo | info | ||
| ) |
| SimpleTensor< T > normalization_layer | ( | const SimpleTensor< T > & | src, |
| NormalizationLayerInfo | info | ||
| ) |
Definition at line 37 of file NormalizationLayer.cpp.
References caffe_mnist_image_extractor::cols, arm_compute::test::validation::dst, arm_compute::IN_MAP_2D, arm_compute::test::validation::info, caffe_mnist_image_extractor::rows, arm_compute::test::validation::src, and type.
| template SimpleTensor<float> arm_compute::test::validation::reference::normalize_planar_yuv_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | mean, | ||
| const SimpleTensor< float > & | std | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::normalize_planar_yuv_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | mean, | ||
| const SimpleTensor< half > & | std | ||
| ) |
| SimpleTensor< T > normalize_planar_yuv_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | mean, | ||
| const SimpleTensor< T > & | std | ||
| ) |
Definition at line 38 of file NormalizePlanarYUVLayer.cpp.
References caffe_mnist_image_extractor::cols, caffe_mnist_image_extractor::rows, and arm_compute::test::validation::src.
| SimpleTensor<int8_t> arm_compute::test::validation::reference::normalize_planar_yuv_layer< int8_t > | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | mean, | ||
| const SimpleTensor< int8_t > & | std | ||
| ) |
Definition at line 76 of file NormalizePlanarYUVLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::normalize_planar_yuv_layer< uint8_t > | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | mean, | ||
| const SimpleTensor< uint8_t > & | std | ||
| ) |
Definition at line 65 of file NormalizePlanarYUVLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< float > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< half > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< int16_t > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< int32_t > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< int8_t > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| SimpleTensor< T > pad_layer | ( | const SimpleTensor< T > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode = PaddingMode::CONSTANT |
||
| ) |
Reference function to pad an ND tensor.
This function is not supposed to be optimized, but to clearly and naively execute the padding of a tensor
| [in] | src | Tensor to pad |
| [in] | paddings | Padding size in each dimension |
| [in] | const_value | Constant value to fill padding with |
| [in] | mode | [optional] Padding mode to use |
Definition at line 39 of file PadLayer.cpp.
References ARM_COMPUTE_ERROR, arm_compute::misc::shape_calculator::compute_padded_shape(), arm_compute::CONSTANT, arm_compute::test::coord2index(), arm_compute::test::validation::dst, PixelValue::get(), arm_compute::test::index2coord(), clang_tidy_rules::mode, Dimensions< size_t >::num_max_dimensions, arm_compute::REFLECT, arm_compute::test::validation::src, arm_compute::SYMMETRIC, Dimensions< T >::x(), Dimensions< T >::y(), and Dimensions< T >::z().
Referenced by conv2d_dft().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< uint16_t > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< uint32_t > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::pad_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const PaddingList & | paddings, | ||
| const PixelValue | const_value = PixelValue(), |
||
| const PaddingMode | mode | ||
| ) |
| template SimpleTensor<bfloat16> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< bfloat16 > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< float > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< half > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< int16_t > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< int8_t > & | src, |
| PermutationVector | perm | ||
| ) |
| SimpleTensor< T > permute | ( | const SimpleTensor< T > & | src, |
| PermutationVector | perm | ||
| ) |
Definition at line 39 of file Permute.cpp.
References arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::test::index2coord(), and arm_compute::test::validation::src.
Referenced by dft_2d(), pooling_layer_internal(), rdft_2d(), and ridft_2d().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< uint16_t > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< uint32_t > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::permute | ( | const SimpleTensor< uint8_t > & | src, |
| PermutationVector | perm | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::pixel_wise_multiplication | ( | const SimpleTensor< float > & | src1, |
| const SimpleTensor< float > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
| template SimpleTensor<half_float::half> arm_compute::test::validation::reference::pixel_wise_multiplication | ( | const SimpleTensor< half_float::half > & | src1, |
| const SimpleTensor< half_float::half > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
| template SimpleTensor< int32_t > pixel_wise_multiplication | ( | const SimpleTensor< int16_t > & | src1, |
| const SimpleTensor< int16_t > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
Definition at line 323 of file PixelWiseMultiplication.cpp.
References ARM_COMPUTE_ERROR, TensorShape::broadcast_shape(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, arm_compute::F32, arm_compute::QSYMM16, scale(), and SimpleTensor< T >::shape().
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::pixel_wise_multiplication | ( | const SimpleTensor< int32_t > & | src1, |
| const SimpleTensor< int32_t > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
| SimpleTensor<int8_t> arm_compute::test::validation::reference::pixel_wise_multiplication | ( | const SimpleTensor< int8_t > & | src1, |
| const SimpleTensor< int8_t > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
Definition at line 295 of file PixelWiseMultiplication.cpp.
References ARM_COMPUTE_ERROR, TensorShape::broadcast_shape(), arm_compute::test::validation::convert_from_asymmetric(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, arm_compute::F32, arm_compute::QASYMM8_SIGNED, scale(), and SimpleTensor< T >::shape().
| SimpleTensor< T3 > pixel_wise_multiplication | ( | const SimpleTensor< T1 > & | src1, |
| const SimpleTensor< T2 > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
Definition at line 217 of file PixelWiseMultiplication.cpp.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_UNUSED, TensorShape::broadcast_shape(), arm_compute::test::validation::dst, scale(), and SimpleTensor< T >::shape().
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::pixel_wise_multiplication | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< int16_t > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
| SimpleTensor< int16_t > pixel_wise_multiplication | ( | const SimpleTensor< uint8_t > & | src1, |
| const SimpleTensor< uint8_t > & | src2, | ||
| float | scale, | ||
| ConvertPolicy | convert_policy, | ||
| RoundingPolicy | rounding_policy, | ||
| DataType | dt_out, | ||
| const QuantizationInfo & | qout | ||
| ) |
Definition at line 239 of file PixelWiseMultiplication.cpp.
References ARM_COMPUTE_ERROR, TensorShape::broadcast_shape(), arm_compute::test::validation::convert_from_asymmetric(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, arm_compute::F32, arm_compute::QASYMM8, scale(), and SimpleTensor< T >::shape().
| template SimpleTensor<float> arm_compute::test::validation::reference::pooling_3d_layer | ( | const SimpleTensor< float > & | src, |
| const Pooling3dLayerInfo & | pool3d_info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::pooling_3d_layer | ( | const SimpleTensor< half > & | src, |
| const Pooling3dLayerInfo & | pool3d_info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices | ||
| ) |
| SimpleTensor< T > pooling_3d_layer | ( | const SimpleTensor< T > & | src, |
| const Pooling3dLayerInfo & | pool3d_info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices | ||
| ) |
Definition at line 195 of file Pooling3dLayer.cpp.
References ARM_COMPUTE_UNUSED, and arm_compute::test::validation::src.
| SimpleTensor<int8_t> arm_compute::test::validation::reference::pooling_3d_layer< int8_t > | ( | const SimpleTensor< int8_t > & | src, |
| const Pooling3dLayerInfo & | pool3d_info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices | ||
| ) |
Definition at line 202 of file Pooling3dLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::pooling_3d_layer< uint8_t > | ( | const SimpleTensor< uint8_t > & | src, |
| const Pooling3dLayerInfo & | pool3d_info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices | ||
| ) |
Definition at line 210 of file Pooling3dLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), and arm_compute::test::validation::src.
| SimpleTensor< T > pooling_3d_layer_internal | ( | const SimpleTensor< T > & | src, |
| const Pooling3dLayerInfo & | pool3d_info, | ||
| SimpleTensor< uint32_t > * | indices | ||
| ) |
Definition at line 40 of file Pooling3dLayer.cpp.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, arm_compute::AVG, arm_compute::test::validation::b, Padding3D::back, Padding3D::bottom, arm_compute::misc::shape_calculator::compute_pool3d_shape(), arm_compute::test::coord2index(), Size3D::depth, arm_compute::test::validation::dst, Pooling3dLayerInfo::exclude_padding, Padding3D::front, Size3D::height, arm_compute::test::validation::idx_height, arm_compute::test::validation::idx_width, Pooling3dLayerInfo::is_global_pooling, arm_compute::L2, Padding3D::left, arm_compute::MAX, Pooling3dLayerInfo::padding, Pooling3dLayerInfo::pool_size, Pooling3dLayerInfo::pool_type, Padding3D::right, arm_compute::test::validation::src, Pooling3dLayerInfo::stride, Padding3D::top, arm_compute::U32, arm_compute::test::validation::w, and Size3D::width.
| template SimpleTensor<float> arm_compute::test::validation::reference::pooling_layer | ( | const SimpleTensor< float > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
| SimpleTensor<half> arm_compute::test::validation::reference::pooling_layer | ( | const SimpleTensor< half > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
| SimpleTensor< T > pooling_layer | ( | const SimpleTensor< T > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 191 of file PoolingLayer.cpp.
References ARM_COMPUTE_UNUSED, arm_compute::test::validation::data_layout, arm_compute::test::validation::info, and arm_compute::test::validation::src.
| SimpleTensor<int8_t> arm_compute::test::validation::reference::pooling_layer< int8_t > | ( | const SimpleTensor< int8_t > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 208 of file PoolingLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::data_layout, arm_compute::test::validation::dst, arm_compute::test::validation::info, pooling_layer_internal< float >(), and arm_compute::test::validation::src.
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::pooling_layer< uint8_t > | ( | const SimpleTensor< uint8_t > & | src, |
| const PoolingLayerInfo & | info, | ||
| const QuantizationInfo & | output_qinfo, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 198 of file PoolingLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::data_layout, arm_compute::test::validation::dst, arm_compute::test::validation::info, pooling_layer_internal< float >(), and arm_compute::test::validation::src.
| SimpleTensor< T > pooling_layer_internal | ( | const SimpleTensor< T > & | src, |
| const PoolingLayerInfo & | info, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Definition at line 41 of file PoolingLayer.cpp.
References arm_compute::AVG, arm_compute::test::validation::b, arm_compute::misc::shape_calculator::compute_pool_shape(), arm_compute::test::coord2index(), arm_compute::test::validation::data_layout, arm_compute::test::validation::dst, arm_compute::test::validation::info, arm_compute::support::cpp11::lowest(), arm_compute::MAX, arm_compute::NCHW, permute(), arm_compute::test::validation::src, type, arm_compute::utils::cast::U, arm_compute::U32, and arm_compute::test::validation::w.
| template SimpleTensor<float> arm_compute::test::validation::reference::pooling_layer_internal< float > | ( | const SimpleTensor< float > & | src, |
| const PoolingLayerInfo & | info, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Referenced by pooling_layer< int8_t >(), and pooling_layer< uint8_t >().
| template SimpleTensor<half> arm_compute::test::validation::reference::pooling_layer_internal< half > | ( | const SimpleTensor< half > & | src, |
| const PoolingLayerInfo & | info, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Referenced by pooling_layer().
| template SimpleTensor<half> arm_compute::test::validation::reference::pooling_layer_internal< half, float > | ( | const SimpleTensor< half > & | src, |
| const PoolingLayerInfo & | info, | ||
| SimpleTensor< uint32_t > * | indices, | ||
| DataLayout | data_layout | ||
| ) |
Referenced by pooling_layer().
| template SimpleTensor<float> arm_compute::test::validation::reference::prior_box_layer | ( | const SimpleTensor< float > & | src1, |
| const SimpleTensor< float > & | src2, | ||
| const PriorBoxLayerInfo & | info, | ||
| const TensorShape & | output_shape | ||
| ) |
| SimpleTensor< T > prior_box_layer | ( | const SimpleTensor< T > & | src1, |
| const SimpleTensor< T > & | src2, | ||
| const PriorBoxLayerInfo & | info, | ||
| const TensorShape & | output_shape | ||
| ) |
Definition at line 39 of file PriorBoxLayer.cpp.
References SimpleTensor< T >::data(), SimpleTensor< T >::data_type(), arm_compute::test::validation::info, arm_compute::test::validation::output_shape, SimpleTensor< T >::shape(), and arm_compute::test::validation::w.
| SimpleTensor< int16_t > qlstm_layer_normalization | ( | const SimpleTensor< int16_t > & | src, |
| const SimpleTensor< int16_t > & | weight, | ||
| const SimpleTensor< int32_t > & | bias | ||
| ) |
Definition at line 40 of file QLSTMLayerNormalization.cpp.
References ARM_COMPUTE_ERROR_ON, bias, arm_compute::quantization::calculate_quantized_multiplier(), arm_compute::quantization::get_invsqrt_quantized_multiplier_exp(), arm_compute::quantization::multiply_by_quantized_multiplier(), arm_compute::QSYMM16, SimpleTensor< T >::quantization_info(), and arm_compute::test::validation::src.
| template SimpleTensor< uint16_t > quantization_layer | ( | const SimpleTensor< float > & | src, |
| DataType | output_data_type, | ||
| const QuantizationInfo & | quantization_info | ||
| ) |
| template SimpleTensor< uint16_t > quantization_layer | ( | const SimpleTensor< half > & | src, |
| DataType | output_data_type, | ||
| const QuantizationInfo & | quantization_info | ||
| ) |
| SimpleTensor< int8_t > quantization_layer | ( | const SimpleTensor< int8_t > & | src, |
| DataType | output_data_type, | ||
| const QuantizationInfo & | quantization_info | ||
| ) |
Definition at line 104 of file QuantizationLayer.cpp.
References arm_compute::test::validation::src.
| SimpleTensor< Tout > quantization_layer | ( | const SimpleTensor< Tin > & | src, |
| DataType | output_data_type, | ||
| const QuantizationInfo & | quantization_info | ||
| ) |
Definition at line 37 of file QuantizationLayer.cpp.
References ARM_COMPUTE_ERROR, arm_compute::test::validation::dst, arm_compute::QASYMM16, arm_compute::QASYMM8, arm_compute::QASYMM8_SIGNED, arm_compute::test::validation::qinfo, arm_compute::quantize_qasymm16(), arm_compute::quantize_qasymm8(), arm_compute::quantize_qasymm8_signed(), arm_compute::test::validation::src, arm_compute::TO_NEAREST_EVEN, arm_compute::TO_ZERO, and QuantizationInfo::uniform().
| SimpleTensor< uint16_t > quantization_layer | ( | const SimpleTensor< uint8_t > & | src, |
| DataType | output_data_type, | ||
| const QuantizationInfo & | quantization_info | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::range | ( | SimpleTensor< float > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::range | ( | SimpleTensor< half > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::range | ( | SimpleTensor< int16_t > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::range | ( | SimpleTensor< int8_t > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
| SimpleTensor< T > range | ( | SimpleTensor< T > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
Definition at line 50 of file Range.cpp.
References arm_compute::test::validation::dst, and arm_compute::cpu::step.
Referenced by format_code::check_copyright(), arm_compute::helpers::tensor_transform::compute_strided_slice_output_shape(), clang_tidy_rules::filter_clang_tidy_lines(), TestFilter::is_selected(), format_doxygen::process_comment(), and format_code::run_fix_code_formatting().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::range | ( | SimpleTensor< uint16_t > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::range | ( | SimpleTensor< uint8_t > & | dst, |
| float | start, | ||
| const size_t | num_of_elements, | ||
| float | step | ||
| ) |
Definition at line 57 of file Range.cpp.
References arm_compute::test::validation::dst, arm_compute::F32, arm_compute::QASYMM8, and arm_compute::cpu::step.
| template SimpleTensor<float> arm_compute::test::validation::reference::rdft_1d | ( | const SimpleTensor< float > & | src | ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::rdft_1d | ( | const SimpleTensor< half > & | src | ) |
| SimpleTensor< T > rdft_1d | ( | const SimpleTensor< T > & | src | ) |
Performs an one dimensional DFT on a real input.
| [in] | src | Source tensor. |
Definition at line 313 of file DFT.cpp.
References Forward, and arm_compute::test::validation::src.
Referenced by arm_compute::test::validation::DATA_TEST_CASE().
| template SimpleTensor<float> arm_compute::test::validation::reference::rdft_2d | ( | const SimpleTensor< float > & | src | ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::rdft_2d | ( | const SimpleTensor< half > & | src | ) |
| SimpleTensor< T > rdft_2d | ( | const SimpleTensor< T > & | src | ) |
Performs a two dimensional DFT on a real input.
| [in] | src | Source tensor. |
Definition at line 342 of file DFT.cpp.
References ARM_COMPUTE_ERROR_ON, Forward, permute(), arm_compute::test::validation::src, and arm_compute::utils::cast::U.
Referenced by conv2d_dft().
| template SimpleTensor< int64_t > reduction_operation | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type = DataType::S32, |
||
| QuantizationInfo | quantization_info_output = QuantizationInfo(), |
||
| RoundingPolicy | policy = RoundingPolicy::TO_ZERO |
||
| ) |
| template SimpleTensor< int32_t > reduction_operation | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type = DataType::S32, |
||
| QuantizationInfo | quantization_info_output = QuantizationInfo(), |
||
| RoundingPolicy | policy = RoundingPolicy::TO_ZERO |
||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::reduction_operation | ( | const SimpleTensor< int32_t > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type = DataType::S32, |
||
| QuantizationInfo | quantization_info_output = QuantizationInfo(), |
||
| RoundingPolicy | policy = RoundingPolicy::TO_ZERO |
||
| ) |
| template SimpleTensor< int32_t > reduction_operation | ( | const SimpleTensor< int8_t > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type, | ||
| QuantizationInfo | quantization_info_output, | ||
| RoundingPolicy | policy | ||
| ) |
Definition at line 310 of file ReductionOperation.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst_shape, arm_compute::MEAN_SUM, arm_compute::QASYMM8_SIGNED, and arm_compute::test::validation::src.
| SimpleTensor< OT > reduction_operation | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type, | ||
| QuantizationInfo | quantization_info_output, | ||
| RoundingPolicy | policy | ||
| ) |
Definition at line 278 of file ReductionOperation.cpp.
References ARM_COMPUTE_UNUSED, arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| template SimpleTensor< int32_t > reduction_operation | ( | const SimpleTensor< uint8_t > & | src, |
| const TensorShape & | dst_shape, | ||
| unsigned int | axis, | ||
| ReductionOperation | op, | ||
| DataType | output_type, | ||
| QuantizationInfo | quantization_info_output, | ||
| RoundingPolicy | policy | ||
| ) |
Definition at line 286 of file ReductionOperation.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst_shape, arm_compute::MEAN_SUM, arm_compute::QASYMM8, and arm_compute::test::validation::src.
| template SimpleTensor<float> arm_compute::test::validation::reference::reorder_layer | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | output_shape, | ||
| WeightFormat | output_wf | ||
| ) |
| SimpleTensor< T > reorder_layer | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | output_shape, | ||
| WeightFormat | output_wf | ||
| ) |
Definition at line 126 of file Reorder.cpp.
References caffe_mnist_image_extractor::cols, arm_compute::test::validation::dst, arm_gemm::None, arm_compute::OHWIo4, arm_compute::OHWIo8, arm_compute::test::validation::output_shape, caffe_mnist_image_extractor::rows, and arm_compute::test::validation::src.
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::reorg_layer | ( | const SimpleTensor< int16_t > & | src, |
| int32_t | stride | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::reorg_layer | ( | const SimpleTensor< int32_t > & | src, |
| int32_t | stride | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::reorg_layer | ( | const SimpleTensor< int8_t > & | src, |
| int32_t | stride | ||
| ) |
| SimpleTensor< T > reorg_layer | ( | const SimpleTensor< T > & | src, |
| int32_t | stride | ||
| ) |
Definition at line 38 of file ReorgLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::b, arm_compute::misc::shape_calculator::compute_reorg_output_shape(), arm_compute::test::validation::dst, arm_compute::test::validation::input_info, arm_compute::NCHW, offset(), arm_compute::test::validation::output_shape, Dimensions< T >::set(), arm_compute::test::validation::src, and arm_compute::test::validation::w.
| template SimpleTensor<bfloat16> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< bfloat16 > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< int16_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< int32_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< int8_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| SimpleTensor< T > reshape_layer | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | output_shape | ||
| ) |
[ReshapeLayer]
Definition at line 38 of file ReshapeLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::dst, arm_compute::test::validation::output_shape, arm_compute::test::validation::src, and TensorShape::total_size().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< uint16_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< uint32_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::reshape_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const TensorShape & | output_shape | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::reverse | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< int32_t > & | axis, | ||
| bool | use_inverted_axis | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::reverse | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< int32_t > & | axis, | ||
| bool | use_inverted_axis | ||
| ) |
| SimpleTensor< T > reverse | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< int32_t > & | axis, | ||
| bool | use_inverted_axis | ||
| ) |
Definition at line 38 of file Reverse.cpp.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, batches, arm_compute::test::coord2index(), arm_compute::test::validation::dst, arm_compute::test::index2coord(), SimpleTensor< T >::num_elements(), SimpleTensor< T >::shape(), and arm_compute::test::validation::src.
Referenced by conv2d_dft(), and arm_compute::utils::parse_npy_header().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::reverse | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< int32_t > & | axis, | ||
| bool | use_inverted_axis | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::ridft_1d | ( | const SimpleTensor< float > & | src, |
| bool | is_odd | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::ridft_1d | ( | const SimpleTensor< half > & | src, |
| bool | is_odd | ||
| ) |
| SimpleTensor< T > ridft_1d | ( | const SimpleTensor< T > & | src, |
| bool | is_odd = false |
||
| ) |
Performs an one dimensional inverse DFT on a real input.
| [in] | src | Source tensor. |
| [in] | is_odd | (Optional) Specifies if the output has odd dimensions. Is used by the inverse variant to reconstruct odd sequences. |
Definition at line 319 of file DFT.cpp.
References arm_compute::test::validation::dst, Inverse, arm_compute::test::validation::is_odd, scale(), and arm_compute::test::validation::src.
Referenced by arm_compute::test::validation::DATA_TEST_CASE().
| template SimpleTensor<float> arm_compute::test::validation::reference::ridft_2d | ( | const SimpleTensor< float > & | src, |
| bool | is_odd | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::ridft_2d | ( | const SimpleTensor< half > & | src, |
| bool | is_odd | ||
| ) |
| SimpleTensor< T > ridft_2d | ( | const SimpleTensor< T > & | src, |
| bool | is_odd = false |
||
| ) |
Performs a two dimensional inverse DFT on a real input.
| [in] | src | Source tensor. |
| [in] | is_odd | (Optional) Specifies if the output has odd dimensions across width. Is used by the inverse variant to reconstruct odd sequences. |
Definition at line 354 of file DFT.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::dst, Inverse, arm_compute::test::validation::is_odd, permute(), scale(), arm_compute::test::validation::src, and arm_compute::utils::cast::U.
Referenced by conv2d_dft().
| SimpleTensor<float> arm_compute::test::validation::reference::roi_align_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
Definition at line 140 of file ROIAlignLayer.cpp.
References ARM_COMPUTE_UNUSED, arm_compute::utility::clamp(), SimpleTensor< T >::data(), arm_compute::test::validation::dst, arm_compute::test::validation::input_shape, arm_compute::test::validation::output_shape, ROIPoolingLayerInfo::pooled_height(), ROIPoolingLayerInfo::pooled_width(), arm_compute::cpu::roi_align_1x1(), ROIPoolingLayerInfo::sampling_ratio(), SimpleTensor< T >::shape(), ROIPoolingLayerInfo::spatial_scale(), and arm_compute::test::validation::src.
| SimpleTensor<half> arm_compute::test::validation::reference::roi_align_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
Definition at line 213 of file ROIAlignLayer.cpp.
References arm_compute::test::validation::dst, arm_compute::F16, arm_compute::F32, and arm_compute::test::validation::src.
| SimpleTensor<int8_t> arm_compute::test::validation::reference::roi_align_layer | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< uint16_t > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
Definition at line 232 of file ROIAlignLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| SimpleTensor<T> arm_compute::test::validation::reference::roi_align_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< TRois > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::roi_align_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint16_t > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
Definition at line 223 of file ROIAlignLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| SimpleTensor<float> arm_compute::test::validation::reference::roi_pool_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< uint16_t > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
Definition at line 40 of file ROIPoolingLayer.cpp.
References ARM_COMPUTE_UNUSED, SimpleTensor< T >::data(), arm_compute::test::validation::input_shape, arm_compute::test::validation::output_shape, ROIPoolingLayerInfo::pooled_height(), ROIPoolingLayerInfo::pooled_width(), arm_compute::support::cpp11::round(), SimpleTensor< T >::shape(), ROIPoolingLayerInfo::spatial_scale(), and arm_compute::test::validation::src.
| SimpleTensor<T> arm_compute::test::validation::reference::roi_pool_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< uint16_t > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::roi_pool_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint16_t > & | rois, | ||
| const ROIPoolingLayerInfo & | pool_info, | ||
| const QuantizationInfo & | output_qinfo | ||
| ) |
Definition at line 136 of file ROIPoolingLayer.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::test::validation::dst, and arm_compute::test::validation::src.
| T arm_compute::test::validation::reference::safe_read | ( | const SimpleTensor< T > & | t, |
| int | y, | ||
| int | x | ||
| ) |
Definition at line 37 of file GEMMInterleaveBlocked.h.
References M, N, and tf_frozen_model_extractor::t.
Referenced by gemm_interleave_blocked().
| template SimpleTensor<float> arm_compute::test::validation::reference::scale | ( | const SimpleTensor< float > & | src, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| float | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners, | ||
| QuantizationInfo | output_quantization_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::scale | ( | const SimpleTensor< half > & | src, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| half | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners, | ||
| QuantizationInfo | output_quantization_info | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::scale | ( | const SimpleTensor< int16_t > & | src, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| int16_t | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners, | ||
| QuantizationInfo | output_quantization_info | ||
| ) |
| SimpleTensor<int8_t> arm_compute::test::validation::reference::scale | ( | const SimpleTensor< int8_t > & | src, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| int8_t | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners, | ||
| QuantizationInfo | output_quantization_info | ||
| ) |
Definition at line 211 of file Scale.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::dequantize_qasymm8_signed(), arm_compute::test::validation::dst, arm_compute::test::validation::sampling_policy, arm_compute::test::validation::scale_x, arm_compute::test::validation::scale_y, and arm_compute::test::validation::src.
| SimpleTensor< T > scale | ( | const SimpleTensor< T > & | src, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| T | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners, | ||
| QuantizationInfo | output_quantization_info | ||
| ) |
Definition at line 184 of file Scale.cpp.
References ARM_COMPUTE_UNUSED, arm_compute::test::validation::sampling_policy, arm_compute::test::validation::scale_x, arm_compute::test::validation::scale_y, and arm_compute::test::validation::src.
Referenced by dft_1d(), dft_2d(), pixel_wise_multiplication(), ridft_1d(), and ridft_2d().
| SimpleTensor<uint8_t> arm_compute::test::validation::reference::scale | ( | const SimpleTensor< uint8_t > & | src, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| uint8_t | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners, | ||
| QuantizationInfo | output_quantization_info | ||
| ) |
Definition at line 192 of file Scale.cpp.
References arm_compute::test::validation::convert_from_asymmetric(), arm_compute::dequantize_qasymm8(), arm_compute::test::validation::dst, arm_compute::test::validation::sampling_policy, arm_compute::test::validation::scale_x, arm_compute::test::validation::scale_y, and arm_compute::test::validation::src.
| SimpleTensor<T> arm_compute::test::validation::reference::scale_core | ( | const SimpleTensor< T > & | in, |
| float | scale_x, | ||
| float | scale_y, | ||
| InterpolationPolicy | policy, | ||
| BorderMode | border_mode, | ||
| T | constant_border_value, | ||
| SamplingPolicy | sampling_policy, | ||
| bool | ceil_policy_scale, | ||
| bool | align_corners | ||
| ) |
Definition at line 40 of file Scale.cpp.
References arm_compute::AREA, ARM_COMPUTE_ERROR, ARM_COMPUTE_ERROR_ON, arm_compute::BILINEAR, arm_compute::test::validation::bilinear_policy(), arm_compute::scale_utils::calculate_resize_ratio(), arm_compute::CENTER, arm_compute::CONSTANT, arm_compute::test::coord2index(), SimpleTensor< T >::data_type(), arm_compute::test::index2coord(), arm_compute::test::validation::is_valid_pixel_index(), arm_compute::NEAREST_NEIGHBOR, SimpleTensor< T >::num_elements(), arm_compute::REPLICATE, arm_compute::utils::rounding::round_half_away_from_zero(), arm_compute::test::validation::sampling_policy, arm_compute::test::validation::scale_x, arm_compute::test::validation::scale_y, TensorShape::set(), SimpleTensor< T >::shape(), arm_compute::test::validation::shape_scaled, arm_compute::test::validation::tensor_elem_at(), arm_compute::TOP_LEFT, arm_compute::utils::cast::U, and arm_compute::UNDEFINED.
| template SimpleTensor<float> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< int16_t > & | src, |
| const SimpleTensor< int16_t > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< int32_t > & | src, |
| const SimpleTensor< int32_t > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< int8_t > & | src, |
| const SimpleTensor< int8_t > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| SimpleTensor< T > scatter_layer | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
Definition at line 136 of file ScatterLayer.cpp.
References arm_compute::test::validation::info, and arm_compute::test::validation::src.
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< uint16_t > & | src, |
| const SimpleTensor< uint16_t > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< uint32_t > & | src, |
| const SimpleTensor< uint32_t > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::scatter_layer | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
| SimpleTensor< T > scatter_layer_internal | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | updates, | ||
| const SimpleTensor< int32_t > & | indices, | ||
| const TensorShape & | out_shape, | ||
| const ScatterInfo & | info | ||
| ) |
Definition at line 73 of file ScatterLayer.cpp.
References arm_compute::test::validation::dst, arm_compute::test::validation::info, Dimensions< T >::num_dimensions(), SimpleTensor< T >::shape(), arm_compute::test::validation::src, and TensorShape::total_size_lower().
| template SimpleTensor<float> arm_compute::test::validation::reference::select | ( | const SimpleTensor< uint8_t > & | c, |
| const SimpleTensor< float > & | x, | ||
| const SimpleTensor< float > & | y | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::select | ( | const SimpleTensor< uint8_t > & | c, |
| const SimpleTensor< half > & | x, | ||
| const SimpleTensor< half > & | y | ||
| ) |
| SimpleTensor< T > select | ( | const SimpleTensor< uint8_t > & | c, |
| const SimpleTensor< T > & | x, | ||
| const SimpleTensor< T > & | y | ||
| ) |
Definition at line 38 of file Select.cpp.
References ARM_COMPUTE_ERROR_ON, SimpleTensor< T >::data(), SimpleTensor< T >::data_type(), arm_compute::test::validation::dst, is_same_rank, Dimensions< T >::num_dimensions(), SimpleTensor< T >::num_elements(), offset(), SimpleTensor< T >::shape(), and Dimensions< T >::x().
Referenced by direct_convolution_nhwc(), non_max_suppression(), pooling_layer_2_nchw_indices(), scale_bilinear_nchw(), scale_nearest_neighbour_nchw(), and transposed_convolution_nhwc().
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::select | ( | const SimpleTensor< uint8_t > & | c, |
| const SimpleTensor< uint8_t > & | x, | ||
| const SimpleTensor< uint8_t > & | y | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::slice | ( | const SimpleTensor< float > & | src, |
| Coordinates | starts, | ||
| Coordinates | ends | ||
| ) |
| template SimpleTensor<half_float::half> arm_compute::test::validation::reference::slice | ( | const SimpleTensor< half_float::half > & | src, |
| Coordinates | starts, | ||
| Coordinates | ends | ||
| ) |
| SimpleTensor< T > slice | ( | const SimpleTensor< T > & | src, |
| Coordinates | starts, | ||
| Coordinates | ends | ||
| ) |
Definition at line 38 of file SliceOperations.cpp.
References ARM_COMPUTE_ERROR_ON, Dimensions< T >::cbegin(), arm_compute::misc::shape_calculator::compute_slice_shape(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::execute_window_loop(), Dimensions< T >::num_dimensions(), offset(), arm_compute::test::validation::src, and Window::use_tensor_dimensions().
Referenced by arm_compute::cpu::batch_normalization_nchw(), NEUnstack::configure(), CLUnstack::configure(), conv2d_dft(), deconvolution_layer(), depthconcatenate_layer(), ICLSimple2DKernel::run(), ICLSimple3DKernel::run(), CLBitwiseKernel::run(), CLSelectKernel::run(), CLFFTScaleKernel::run(), CLNormalizationLayerKernel::run(), CLQLSTMLayerNormalizationKernel::run(), CLReorgLayerKernel::run(), CLTileKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLMaxUnpoolingLayerKernel::run(), CLROIPoolingLayerKernel::run(), CLComparisonKernel::run(), CLFFTDigitReverseKernel::run(), CLNormalizePlanarYUVLayerKernel::run(), CLReverseKernel::run(), CLFFTRadixStageKernel::run(), CLPadLayerKernel::run(), CLBoundingBoxTransformKernel::run(), CLFillBorderKernel::run(), CLPriorBoxLayerKernel::run(), CLROIAlignLayerKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLBatchNormalizationLayerKernel::run(), ClElementwiseKernel::run_op(), ClKernelRuntime::run_op(), ClReshapeKernel::run_op(), ClTransposeKernel::run_op(), ClDequantizeKernel::run_op(), ClFloorKernel::run_op(), ClWidthConcatenate2TensorsKernel::run_op(), ClCopyKernel::run_op(), ClElementWiseUnaryKernel::run_op(), ClFillKernel::run_op(), ClQuantizeKernel::run_op(), ClScaleKernel::run_op(), ClDepthConcatenateKernel::run_op(), ClTransposedConvolutionKernel::run_op(), ClBatchConcatenateKernel::run_op(), ClActivationKernel::run_op(), ClPool2dKernel::run_op(), ClWidthConcatenate4TensorsKernel::run_op(), ClWinogradInputTransformKernel::run_op(), ClGemmReshapeLhsMatrixKernel::run_op(), ClCastKernel::run_op(), ClGemmLowpMatrixMultiplyNativeKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFixedPointKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleByFloatKernel::run_op(), ClGemmLowpQuantizeDownInt32ScaleKernel::run_op(), ClGemmReshapeRhsMatrixKernel::run_op(), ClIndirectConv2dAddressPrecalculationKernel::run_op(), ClWinogradOutputTransformKernel::run_op(), ClCol2ImKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedKernel::run_op(), ClGemmMatrixMultiplyNativeKernel::run_op(), ClIndirectConv2dKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), CLStridedSliceKernel::run_op(), ClGemmLowpOffsetContributionKernel::run_op(), ClDirectConv3dKernel::run_op(), ClDirectConv2dKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsMMULKernel::run_op(), ClMulKernel::run_op(), ClGemmLowpOffsetContributionOutputStageKernel::run_op(), CLFillBorderKernel::run_op(), ClGemmLowpMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClIm2ColKernel::run_op(), ClGemmMatrixMultiplyReshapedOnlyRhsKernel::run_op(), ClGemmMatrixMultiplyReshapedKernel::run_op(), ClComplexMulKernel::run_op(), Window::slide_window_slice_1D(), Window::slide_window_slice_2D(), Window::slide_window_slice_3D(), and Window::slide_window_slice_4D().
| template SimpleTensor<float> arm_compute::test::validation::reference::softmax_layer | ( | const SimpleTensor< float > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::softmax_layer | ( | const SimpleTensor< half > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::softmax_layer | ( | const SimpleTensor< int8_t > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
| SimpleTensor< T > softmax_layer | ( | const SimpleTensor< T > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
Definition at line 110 of file SoftmaxLayer.cpp.
References arm_compute::test::validation::src.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::softmax_layer | ( | const SimpleTensor< uint8_t > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::softmax_layer_generic | ( | const SimpleTensor< float > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::softmax_layer_generic | ( | const SimpleTensor< half > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
| SimpleTensor< T > softmax_layer_generic | ( | const SimpleTensor< T > & | src, |
| float | beta, | ||
| int32_t | axis, | ||
| bool | is_log | ||
| ) |
Definition at line 39 of file SoftmaxLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::dst, arm_compute::execute_window_loop(), offset(), Window::set(), arm_compute::test::validation::src, Window::use_tensor_dimensions(), and arm_compute::wrap_around().
| template SimpleTensor<float> arm_compute::test::validation::reference::space_to_batch | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< int32_t > & | block_shape, | ||
| const SimpleTensor< int32_t > & | paddings, | ||
| const TensorShape & | dst_shape | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::space_to_batch | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< int32_t > & | block_shape, | ||
| const SimpleTensor< int32_t > & | paddings, | ||
| const TensorShape & | dst_shape | ||
| ) |
| SimpleTensor< T > space_to_batch | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< int32_t > & | block_shape, | ||
| const SimpleTensor< int32_t > & | paddings, | ||
| const TensorShape & | dst_shape | ||
| ) |
Definition at line 38 of file SpaceToBatch.cpp.
References arm_compute::test::validation::dst_shape, arm_compute::is_data_type_quantized(), and arm_compute::test::validation::src.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::space_to_batch | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< int32_t > & | block_shape, | ||
| const SimpleTensor< int32_t > & | paddings, | ||
| const TensorShape & | dst_shape | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::space_to_depth | ( | const SimpleTensor< float > & | src, |
| const TensorShape & | dst_shape, | ||
| const int | block_shape | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::space_to_depth | ( | const SimpleTensor< half > & | src, |
| const TensorShape & | dst_shape, | ||
| const int | block_shape | ||
| ) |
| SimpleTensor< T > space_to_depth | ( | const SimpleTensor< T > & | src, |
| const TensorShape & | dst_shape, | ||
| const int | block_shape | ||
| ) |
Definition at line 38 of file SpaceToDepth.cpp.
References arm_compute::test::validation::dst_shape, and arm_compute::test::validation::src.
| template SimpleTensor<char> arm_compute::test::validation::reference::stack_layer | ( | const std::vector< SimpleTensor< char >> & | in, |
| const TensorShape & | output_shape, | ||
| DataType | data_type, | ||
| unsigned int | axis | ||
| ) |
| template SimpleTensor<int> arm_compute::test::validation::reference::stack_layer | ( | const std::vector< SimpleTensor< int >> & | in, |
| const TensorShape & | output_shape, | ||
| DataType | data_type, | ||
| unsigned int | axis | ||
| ) |
| template SimpleTensor<short> arm_compute::test::validation::reference::stack_layer | ( | const std::vector< SimpleTensor< short >> & | in, |
| const TensorShape & | output_shape, | ||
| DataType | data_type, | ||
| unsigned int | axis | ||
| ) |
| SimpleTensor< T > stack_layer | ( | const std::vector< SimpleTensor< T >> & | in, |
| const TensorShape & | output_shape, | ||
| DataType | data_type, | ||
| unsigned int | axis | ||
| ) |
Definition at line 41 of file StackLayer.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::data_type, Dimensions< T >::num_dimensions(), arm_compute::test::validation::output_shape, and arm_compute::test::validation::shape.
| template SimpleTensor<float> arm_compute::test::validation::reference::strided_slice | ( | const SimpleTensor< float > & | src, |
| Coordinates | starts, | ||
| Coordinates | ends, | ||
| BiStrides | strides, | ||
| int32_t | begin_mask, | ||
| int32_t | end_mask, | ||
| int32_t | shrink_axis_mask | ||
| ) |
| template SimpleTensor<half_float::half> arm_compute::test::validation::reference::strided_slice | ( | const SimpleTensor< half_float::half > & | src, |
| Coordinates | starts, | ||
| Coordinates | ends, | ||
| BiStrides | strides, | ||
| int32_t | begin_mask, | ||
| int32_t | end_mask, | ||
| int32_t | shrink_axis_mask | ||
| ) |
| SimpleTensor< T > strided_slice | ( | const SimpleTensor< T > & | src, |
| Coordinates | starts, | ||
| Coordinates | ends, | ||
| BiStrides | strides, | ||
| int32_t | begin_mask, | ||
| int32_t | end_mask, | ||
| int32_t | shrink_axis_mask | ||
| ) |
Definition at line 80 of file SliceOperations.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::helpers::tensor_transform::calculate_strided_slice_coords(), Dimensions< T >::cbegin(), arm_compute::helpers::tensor_transform::compute_strided_slice_output_shape(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::execute_window_loop(), Dimensions< T >::num_dimensions(), offset(), arm_compute::test::validation::src, and Window::use_tensor_dimensions().
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::table_lookup | ( | const SimpleTensor< int16_t > & | src, |
| const std::map< int16_t, int16_t > & | rawlut | ||
| ) |
| SimpleTensor< T > table_lookup | ( | const SimpleTensor< T > & | src, |
| const std::map< T, T > & | rawlut | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::table_lookup | ( | const SimpleTensor< uint8_t > & | src, |
| const std::map< uint8_t, uint8_t > & | rawlut | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< float > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< half > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<int16_t> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< int16_t > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<int32_t> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< int32_t > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<int8_t> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< int8_t > & | src, |
| const Multiples & | multiples | ||
| ) |
| SimpleTensor< T > tile | ( | const SimpleTensor< T > & | src, |
| const Multiples & | multiples | ||
| ) |
Definition at line 38 of file Tile.cpp.
References arm_compute::misc::shape_calculator::compute_tiled_shape(), arm_compute::test::coord2index(), arm_compute::test::validation::dst, arm_compute::test::index2coord(), arm_compute::test::validation::src, arm_compute::test::validation::w, Dimensions< T >::x(), Dimensions< T >::y(), and Dimensions< T >::z().
Referenced by arm_compute::test::validation::get_tile().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< uint16_t > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< uint32_t > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::tile | ( | const SimpleTensor< uint8_t > & | src, |
| const Multiples & | multiples | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::transpose | ( | const SimpleTensor< float > & | src | ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::transpose | ( | const SimpleTensor< half > & | src | ) |
| SimpleTensor< T > transpose | ( | const SimpleTensor< T > & | src | ) |
Definition at line 38 of file Transpose.cpp.
References arm_compute::test::coord2index(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::test::index2coord(), arm_compute::test::validation::src, Dimensions< T >::x(), and Dimensions< T >::y().
| template SimpleTensor<uint16_t> arm_compute::test::validation::reference::transpose | ( | const SimpleTensor< uint16_t > & | src | ) |
| template SimpleTensor<uint32_t> arm_compute::test::validation::reference::transpose | ( | const SimpleTensor< uint32_t > & | src | ) |
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::transpose | ( | const SimpleTensor< uint8_t > & | src | ) |
| template std::vector<SimpleTensor<float> > arm_compute::test::validation::reference::unstack | ( | const SimpleTensor< float > & | input_tensor, |
| std::vector< SimpleTensor< float >> & | output_tensors, | ||
| int | axis | ||
| ) |
| template std::vector<SimpleTensor<half> > arm_compute::test::validation::reference::unstack | ( | const SimpleTensor< half > & | input_tensor, |
| std::vector< SimpleTensor< half >> & | output_tensors, | ||
| int | axis | ||
| ) |
| std::vector< SimpleTensor< T > > unstack | ( | const SimpleTensor< T > & | input_tensor, |
| std::vector< SimpleTensor< T >> & | output_tensors, | ||
| int | axis | ||
| ) |
Definition at line 87 of file Unstack.cpp.
References ARM_COMPUTE_ERROR_ON, SimpleTensor< T >::shape(), and arm_compute::wrap_around().
| template std::vector<SimpleTensor<uint8_t> > arm_compute::test::validation::reference::unstack | ( | const SimpleTensor< uint8_t > & | input_tensor, |
| std::vector< SimpleTensor< uint8_t >> & | output_tensors, | ||
| int | axis | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::weights_reshape | ( | const SimpleTensor< float > & | src, |
| const SimpleTensor< float > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const unsigned int | num_groups | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::weights_reshape | ( | const SimpleTensor< half > & | src, |
| const SimpleTensor< half > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const unsigned int | num_groups | ||
| ) |
| SimpleTensor< T > weights_reshape | ( | const SimpleTensor< T > & | src, |
| const SimpleTensor< T > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const unsigned int | num_groups | ||
| ) |
Definition at line 38 of file WeightsReshape.cpp.
References arm_compute::test::coord2index(), arm_compute::test::validation::dst, arm_compute::test::validation::dst_shape, arm_compute::test::validation::has_bias, arm_compute::test::validation::num_groups, SimpleTensor< T >::size(), arm_compute::test::validation::src, and arm_compute::test::validation::w.
| template SimpleTensor<uint8_t> arm_compute::test::validation::reference::weights_reshape | ( | const SimpleTensor< uint8_t > & | src, |
| const SimpleTensor< uint8_t > & | biases, | ||
| const TensorShape & | dst_shape, | ||
| const unsigned int | num_groups | ||
| ) |
| template SimpleTensor<float> arm_compute::test::validation::reference::winograd_filter_transform | ( | const SimpleTensor< float > & | in, |
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::winograd_filter_transform | ( | const SimpleTensor< half > & | in, |
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
| SimpleTensor< T > winograd_filter_transform | ( | const SimpleTensor< T > & | in, |
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
Definition at line 360 of file Winograd.cpp.
References Size2D::area(), ARM_COMPUTE_ERROR_ON_MSG, SimpleTensor< T >::data_layout(), SimpleTensor< T >::data_type(), FILTER, Size2D::height, WinogradInfo::kernel_size, arm_compute::NCHW, arm_compute::test::validation::output_shape, WinogradInfo::output_tile_size, SimpleTensor< T >::shape(), arm_compute::test::validation::w, and Size2D::width.
| template SimpleTensor<float> arm_compute::test::validation::reference::winograd_input_transform | ( | const SimpleTensor< float > & | in, |
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::winograd_input_transform | ( | const SimpleTensor< half > & | in, |
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
| SimpleTensor< T > winograd_input_transform | ( | const SimpleTensor< T > & | in, |
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
Definition at line 236 of file Winograd.cpp.
References ARM_COMPUTE_ERROR_ON, arm_compute::test::validation::b, arm_compute::compute_winograd_convolution_tiles(), arm_compute::test::validation::conv_info, WinogradInfo::convolution_info, arm_compute::coords2index(), SimpleTensor< T >::data_layout(), SimpleTensor< T >::data_type(), Size2D::height, INPUT, WinogradInfo::kernel_size, arm_compute::NCHW, arm_compute::test::validation::output_shape, WinogradInfo::output_tile_size, SimpleTensor< T >::shape(), and Size2D::width.
Referenced by CpuWinogradConv2dTransformInputKernel::run_op().
| template SimpleTensor<float> arm_compute::test::validation::reference::winograd_output_transform | ( | const SimpleTensor< float > & | in, |
| const SimpleTensor< float > & | b, | ||
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
| template SimpleTensor<half> arm_compute::test::validation::reference::winograd_output_transform | ( | const SimpleTensor< half > & | in, |
| const SimpleTensor< half > & | b, | ||
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
| SimpleTensor< T > winograd_output_transform | ( | const SimpleTensor< T > & | in, |
| const SimpleTensor< T > & | b, | ||
| const TensorShape & | output_shape, | ||
| const WinogradInfo & | winograd_info | ||
| ) |
Definition at line 440 of file Winograd.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_UNUSED, arm_compute::test::validation::b, arm_compute::CHANNEL, arm_compute::compute_winograd_convolution_tiles(), arm_compute::test::validation::conv_info, WinogradInfo::convolution_info, SimpleTensor< T >::data_type(), arm_compute::get_data_layout_dimension_index(), Size2D::height, WinogradInfo::input_dimensions, WinogradInfo::kernel_size, OUTPUT, WinogradInfo::output_data_layout, arm_compute::test::validation::output_shape, WinogradInfo::output_tile_size, SimpleTensor< T >::shape(), and Size2D::width.
Referenced by CpuWinogradConv2dTransformOutputKernel::run_op().