24.02.1
|
#include <arm_gemm.hpp>
Public Member Functions | |
Requantize32 ()=default | |
Requantize32 (const int32_t *bias, size_t bias_multi_stride, int32_t a_offset, int32_t b_offset, int32_t c_offset, int32_t requant_shift, int32_t requant_mul, int32_t minv, int32_t maxv) | |
Requantize32 (const int32_t *bias, size_t bias_multi_stride, int32_t a_offset, int32_t b_offset, int32_t c_offset, const int32_t *requant_left_shifts, const int32_t *requant_right_shifts, const int32_t *requant_muls, int32_t minv, int32_t maxv) | |
Data Fields | |
const int32_t * | bias = nullptr |
size_t | bias_multi_stride = 0 |
int32_t | a_offset = 0 |
int32_t | b_offset = 0 |
int32_t | c_offset = 0 |
bool | per_channel_requant = false |
int32_t | per_layer_left_shift = 0 |
int32_t | per_layer_right_shift = 0 |
int32_t | per_layer_mul = 0 |
const int32_t * | per_channel_left_shifts = nullptr |
const int32_t * | per_channel_right_shifts = nullptr |
const int32_t * | per_channel_muls = nullptr |
int32_t | minval = 0 |
int32_t | maxval = 0 |
Definition at line 186 of file arm_gemm.hpp.
|
default |
|
inline |
Definition at line 207 of file arm_gemm.hpp.
|
inline |
Definition at line 231 of file arm_gemm.hpp.
int32_t a_offset = 0 |
Definition at line 191 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::interleaves::quantized::pack_parameters().
int32_t b_offset = 0 |
Definition at line 192 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::interleaves::quantized::pack_parameters(), and arm_gemm::quant_hybrid_symmetric().
const int32_t* bias = nullptr |
Definition at line 189 of file arm_gemm.hpp.
Referenced by StrategyType< true, TInput, TWeight, TOutput, int32_t, arm_gemm::Requantize32 >::execute(), QuantizeWrapper< To, Tr, Tgemm >::set_quantized_bias(), GemmHybridQuantizedInline< strategy, To, Tr >::set_quantized_bias(), GemmHybridQuantized< strategy, To, Tr >::set_quantized_bias(), GemmHybridIndirect< strategy, To, Tr, OutputStage, SeparateQuantize, FixedFormat >::set_quantized_bias(), and GemmInterleaved< strategy, To, Tr, OutputStage, MergeStep, FixedFormat, ForceThreadColumns, ForceFloatAccumulate >::set_quantized_bias().
size_t bias_multi_stride = 0 |
Definition at line 190 of file arm_gemm.hpp.
Referenced by QuantizeWrapper< To, Tr, Tgemm >::set_quantized_bias(), GemmHybridQuantizedInline< strategy, To, Tr >::set_quantized_bias(), GemmHybridQuantized< strategy, To, Tr >::set_quantized_bias(), GemmHybridIndirect< strategy, To, Tr, OutputStage, SeparateQuantize, FixedFormat >::set_quantized_bias(), and GemmInterleaved< strategy, To, Tr, OutputStage, MergeStep, FixedFormat, ForceThreadColumns, ForceFloatAccumulate >::set_quantized_bias().
int32_t c_offset = 0 |
Definition at line 193 of file arm_gemm.hpp.
int32_t maxval = 0 |
Definition at line 202 of file arm_gemm.hpp.
int32_t minval = 0 |
Definition at line 201 of file arm_gemm.hpp.
const int32_t* per_channel_left_shifts = nullptr |
Definition at line 198 of file arm_gemm.hpp.
Referenced by StrategyType< true, TInput, TWeight, TOutput, int32_t, arm_gemm::Requantize32 >::execute(), and arm_gemm::quant_no_left_shift().
const int32_t* per_channel_muls = nullptr |
Definition at line 200 of file arm_gemm.hpp.
Referenced by StrategyType< true, TInput, TWeight, TOutput, int32_t, arm_gemm::Requantize32 >::execute(), and arm_conv::depthwise::interleaves::quantized::pack_parameters().
bool per_channel_requant = false |
Definition at line 194 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::interleaves::quantized::pack_parameters(), arm_gemm::quant_hybrid_asymmetric(), and arm_gemm::quant_no_left_shift().
const int32_t* per_channel_right_shifts = nullptr |
Definition at line 199 of file arm_gemm.hpp.
Referenced by StrategyType< true, TInput, TWeight, TOutput, int32_t, arm_gemm::Requantize32 >::execute(), and arm_conv::depthwise::interleaves::quantized::pack_parameters().
int32_t per_layer_left_shift = 0 |
Definition at line 195 of file arm_gemm.hpp.
Referenced by arm_gemm::quant_no_left_shift().
int32_t per_layer_mul = 0 |
Definition at line 197 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::interleaves::quantized::pack_parameters().
int32_t per_layer_right_shift = 0 |
Definition at line 196 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::interleaves::quantized::pack_parameters().