braindecode.augmentation.IdentityTransform#
- class braindecode.augmentation.IdentityTransform(probability=1.0, random_state=None)[source]#
Identity transform.
Transform that does not change the input.
Methods
- static operation(X, y)#
Identity operation.
- Parameters
X (torch.Tensor) – EEG input example or batch.
y (torch.Tensor) – EEG labels for the example or batch.
- Returns
torch.Tensor – Transformed inputs.
torch.Tensor – Transformed labels.