RandomOrder

class torchaug.transforms.RandomOrder(transforms)[source]

Apply a list of transformations in a random order.

This transform does not support torchscript.

Parameters:

transforms (Sequence[Callable]) – list of transformations

forward(*inputs)[source]

Performs forward pass of the transform.

Parameters:

inputs (Any) – Inputs to the transform.

Return type:

Any

Returns:

Transformed inputs.