enum dnnl_memory_extra_flags_t¶
Overview¶
Flags for memory special features. More…
#include <dnnl_types.h> enum dnnl_memory_extra_flags_t { dnnl_memory_extra_flag_none = 0x0U, dnnl_memory_extra_flag_compensation_conv_s8s8 = 0x1U, dnnl_memory_extra_flag_scale_adjust = 0x2U, dnnl_memory_extra_flag_rnn_u8s8_compensation = 0x4U, dnnl_memory_extra_flag_gpu_rnn_u8s8_compensation = dnnl_memory_extra_flag_rnn_u8s8_compensation, dnnl_memory_extra_flag_compensation_conv_asymmetric_src = 0x8U, dnnl_memory_extra_flag_rnn_s8s8_compensation = 0x16U, };
Detailed Documentation¶
Flags for memory special features.
Enum Values¶
dnnl_memory_extra_flag_compensation_conv_s8s8
Indicates the weights have an additional buffer, that depends on the compensation_mask
.
For instance, in 4D case with the compensation mask equals (1 << 0) the additional buffer would consist of OC values: O[oc : 0,OC] = -128 * SUM(ic : 0,IC; kh : 0,KH; kw : 0,KW){ weights(oc, ic, kh, kw) }