Hi all,
I’m currently converting an autograd Function from Python to C++. In the python implementation, the backward method is annotated with @once_differentiable. I’m wondering what steps I should take to translate this to C++.
Many thanks in advance for the help!
With best regards,
Maxim