List-of-Differentiable--OPs-and-Non-differentiable-OPs--in-Tensorflow
List-of-Differentiable--OPs-and-Non-differentiable-OPs--in-Tensorflow copied to clipboard
Round is a differentiable operation?
I thought there was no gradient defined in TensorFlow for round?
Just for your interest. (I know your post is from 2019) I guess that is a wrong entry in the list.
Also see my post: https://github.com/Mainak431/List-of-Differentiable--OPs-and-Non-differentiable-OPs--in-Tensorflow/issues/4
The round-operator has "RegisterGradient" but returns "None". https://github.com/tensorflow/tensorflow/blob/87462bfac761435a46641ff2f10ad0b6e5414a4b/tensorflow/python/ops/math_grad.py#L1818 So my guess is there is indeed no gradient defined. But I'm still wondering why they do it that way instead of using NotDifferentiable ...