braindecode.augmentation.IdentityTransform

class braindecode.augmentation.IdentityTransform(probability=1.0, random_state=None)

Identity transform.

Transform that does not change the input.

Methods

static operation(X, y)

Identity operation.

Parameters
Xtorch.Tensor

EEG input example or batch.

ytorch.Tensor

EEG labels for the example or batch.

Returns
torch.Tensor

Transformed inputs.

torch.Tensor

Transformed labels.