bias is an input to quantized::conv2d op, it is applied in quantized::conv2d op itself, with this formula:



 jerryzh168:

y = conv(x_q,w_q) + bias/(w_scale*x_scale)


this is in int32. then we’ll requantize y with output_scale and output_zero_point
cc @dskhudia could you link the fbgemm implementation  for conv?