No, the rounding function is a step function and almost everywhere differentiable as explained in this post 455.
However, since it’s a step function the gradient will be zero almost everywhere, so it’s not really usable in training the model.