braindecode.augmentation.functional.time_reverse#

braindecode.augmentation.functional.time_reverse(X, y)[source]#

Flip the time axis of each input.

Parameters:
Returns:

  • torch.Tensor – Transformed inputs.

  • torch.Tensor – Transformed labels.