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
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Description
I am wondering why the Batch class does not support moving the data to the device with a ".to()" call like it is possible for tensors and nn modules. Since the attribute of this Batch object are tensors, wouldn't it be straightforward to implement this convenience method?