I am working on a project that requires using a Torch optimizer with Julia functions. I need to know if Torch’s autograd can compute gradients for functions defined in Julia, or if it is restricted to functions written in Python. Thanks so much!
Custom autograd.Functions should work as these allow you to use any library you want but require the manual implementation of the backward call.