torch_brain.data#
torch_brain.data.collate#
Wrap an object to specify that it (or any of its members) should be stacked along the first dimension when batching. |
|
Extension of PyTorch's |
|
Wrap an object to specify that it (or any of its members) should be padded to the maximum length in the batch. |
|
Wrap an object to specify that it (or any of its members) should be padded to the maximum length in the batch. |
|
Wrap an array or tensor to track the batch_index. |
|
Wrap an array or tensor to specify that its padding mask should be tracked. |
|
Wrap an array or tensor to specify that its padding mask should be tracked. |
|
Wrap an array or tensor to specify that its padding mask should be tracked. |
|
Wrap an array or tensor to specify that its padding mask should be tracked. |
torch_brain.data.dataset [DEPRECATED]#
Deprecated. |