Hi, I wonder what happens when calling backward on a network that contains a module that is not differentiable.
For example, if I have a conditional statement or argmax/argmin in the forward function of a module, which is used as a part of a larger network. Is the backward on that module automatically disabled? Or should I call detach() on the output of that module?
Thanks a lot in advance.