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
This submodule contains a set of standard PyTorch tensor transformations necessary for neural network models.
247
-
These Transforms are intended for use with the :ref:`Parquet-Module`. For applying specify a sequence of transformations for every data split as ParquetModule's ``transforms`` parameter.
248
-
Specified transformations will be applied per batch on device, then the resulting batch will be used as model input.
254
+
Every Transform (transformation) is a child class of ``torch.nn.Module`` which forward pass takes as input a batch (python dictionary)
255
+
and returns a copy of input batch with some applyed transformation.
256
+
257
+
These Transforms are intended for use with the :ref:`Parquet-Module`. `ParquetModule` object gets transformations via `transforms` parameter.
258
+
259
+
For passing `transforms` parameter correctly, specify a sequence (a list) of transformations for every used data split, for example:
0 commit comments