TorchScript has full support for PyTorch’s tape-based autograd. You can call backward()
on your tensors if you are recording gradients and it should work.
1 Like
TorchScript has full support for PyTorch’s tape-based autograd. You can call backward()
on your tensors if you are recording gradients and it should work.