braindecode.augmentation.functional.sign_flip

braindecode.augmentation.functional.sign_flip(X, y)

Flip the sign axis of each input.

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.