-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
breaking changesChanges in public interfaces. Includes small changes or changes in keysChanges in public interfaces. Includes small changes or changes in keysenhancementFeature that is not a new algorithm or an algorithm enhancementFeature that is not a new algorithm or an algorithm enhancement
Description
Currently Batch.to_torch is a in-place operation. A non-in-place counterpart to it should be implemented that returns a new Batch (cf. similar methods like Batch.to_numpy).
Note that the two methods should be named appropriately according to naming conventions in the existing codebase, i.e. in-place methods have a _ appended to their name.
Metadata
Metadata
Assignees
Labels
breaking changesChanges in public interfaces. Includes small changes or changes in keysChanges in public interfaces. Includes small changes or changes in keysenhancementFeature that is not a new algorithm or an algorithm enhancementFeature that is not a new algorithm or an algorithm enhancement
Type
Projects
Status
Done