convert gain_bias into multiply_add