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
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?
Thanks
The text was updated successfully, but these errors were encountered:
❓ Questions and Help
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?
Thanks
The text was updated successfully, but these errors were encountered: