I would like to implement a single quantization layer with the forward pass of
x = floor(y / scale + offset)
where scale and offset are fixed scalars and given in the initialization. Do I need to care about backpropagation or the autograd will automatically take care of it?