You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of torch 2.0, there is torch.func (formerly functorch) which implements a subset of the jax API (e.g. torch.func.grad behaves like jax.grad). There is also support for using the torch.func API with custom derivatives, using torch.autograd.Function, even though it seems more complex to set up (i.e. things like ctx.save_for_backward).
No description provided.
The text was updated successfully, but these errors were encountered: