21.08
|
#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 127 of file arm_gemm.hpp.
|
default |
|
inline |
Definition at line 148 of file arm_gemm.hpp.
|
inline |
Definition at line 157 of file arm_gemm.hpp.
int32_t a_offset = 0 |
Definition at line 132 of file arm_gemm.hpp.
Referenced by DepthwiseDepthfirstGenericWithMultiplierQuantized< strategy >::execute(), DepthwiseDepthfirstGenericQuantized< Strategy, OutputRows, OutputCols >::execute(), DepthwiseDepthfirstWithMultiplierQuantized< strategy >::execute(), DepthwiseDepthfirstQuantized< strategy >::execute(), and DepthwiseDepthfirstWithMultiplierQuantized< strategy >::pack_parameters().
int32_t b_offset = 0 |
Definition at line 133 of file arm_gemm.hpp.
Referenced by GemmHybridIndirect< strategy, To, Tr, OutputStage, SeparateQuantize >::estimate_cycles(), DepthwiseDepthfirstWithMultiplierQuantized< strategy >::pack_parameters(), and arm_gemm::quant_hybrid_symmetric().
const int32_t* bias = nullptr |
Definition at line 130 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::a64_s8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8s8u8q_nhwc_generic_output9_mla_depthfirst_impl(), DepthwiseDepthfirstGenericWithMultiplierQuantized< strategy >::execute(), DepthwiseDepthfirstQuantized< strategy >::execute(), DepthwiseDepthfirstGenericWithMultiplierQuantized< strategy >::pack_parameters(), DepthwiseDepthfirstGenericQuantized< Strategy, OutputRows, OutputCols >::pack_parameters(), DepthwiseDepthfirstQuantized< strategy >::pack_parameters(), 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 >::set_quantized_bias(), and GemmInterleaved< strategy, To, Tr, OutputStage, MergeStep, ForceThreadColumns >::set_quantized_bias().
size_t bias_multi_stride = 0 |
Definition at line 131 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 >::set_quantized_bias(), and GemmInterleaved< strategy, To, Tr, OutputStage, MergeStep, ForceThreadColumns >::set_quantized_bias().
int32_t c_offset = 0 |
Definition at line 134 of file arm_gemm.hpp.
int32_t maxval = 0 |
Definition at line 143 of file arm_gemm.hpp.
int32_t minval = 0 |
Definition at line 142 of file arm_gemm.hpp.
const int32_t* per_channel_left_shifts = nullptr |
Definition at line 139 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::a64_s8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8s8u8q_nhwc_generic_output9_mla_depthfirst_impl(), DepthwiseDepthfirstGenericWithMultiplierQuantized< strategy >::execute(), and arm_gemm::quant_no_left_shift().
const int32_t* per_channel_muls = nullptr |
Definition at line 141 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::a64_s8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8s8u8q_nhwc_generic_output9_mla_depthfirst_impl(), DepthwiseDepthfirstGenericWithMultiplierQuantized< strategy >::execute(), DepthwiseDepthfirstQuantized< strategy >::execute(), and DepthwiseDepthfirstWithMultiplierQuantized< strategy >::pack_parameters().
bool per_channel_requant = false |
Definition at line 135 of file arm_gemm.hpp.
Referenced by DepthwiseDepthfirstQuantized< strategy >::execute(), DepthwiseDepthfirstWithMultiplierQuantized< strategy >::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 140 of file arm_gemm.hpp.
Referenced by arm_conv::depthwise::a64_s8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8q_nhwc_generic_output9_mla_depthfirst_impl(), arm_conv::depthwise::a64_u8s8u8q_nhwc_generic_output9_mla_depthfirst_impl(), DepthwiseDepthfirstGenericWithMultiplierQuantized< strategy >::execute(), DepthwiseDepthfirstQuantized< strategy >::execute(), and DepthwiseDepthfirstWithMultiplierQuantized< strategy >::pack_parameters().
int32_t per_layer_left_shift = 0 |
Definition at line 136 of file arm_gemm.hpp.
Referenced by arm_gemm::quant_no_left_shift().
int32_t per_layer_mul = 0 |
Definition at line 138 of file arm_gemm.hpp.
Referenced by DepthwiseDepthfirstQuantized< strategy >::execute(), and DepthwiseDepthfirstWithMultiplierQuantized< strategy >::pack_parameters().
int32_t per_layer_right_shift = 0 |
Definition at line 137 of file arm_gemm.hpp.
Referenced by DepthwiseDepthfirstQuantized< strategy >::execute(), and DepthwiseDepthfirstWithMultiplierQuantized< strategy >::pack_parameters().