GradCache
GradCache copied to clipboard
Multiple outputs implementation
Hello,
Suppose my model returns multiple outputs. How should the functional approach be modified to handle this?
Thanks.
With the grad cache decorator, you can return a tuple of tensors.