torch_brain.transforms#
Compose several transforms together. |
|
Apply a single transformation randomly picked from a list. |
|
Conditionally apply a single transformation based on whether a condition is met. |
|
Augmentation that randomly drops units from the sample. |
|
Triangular distribution with a peak at mode_units, going from min_units to max_units. |
|
Bin spike events into fixed-width time bins. |
|
Drop units based on the mask_fn given in the constructor. |
|
Keep/drop units based on the keyword/regex given in the constructor. |