The to()
operation is differentiable, but won’t move intermediates to the target device.
To save memory via CPU offloading you might want to use these hooks.
1 Like
The to()
operation is differentiable, but won’t move intermediates to the target device.
To save memory via CPU offloading you might want to use these hooks.