cutcutcodec.core.nn.dataaug.chain

Merge several data augmentation together.

Classes

ChainDataaug(dataaugs, probas)

Random applycation of the dataaug.

Details

class cutcutcodec.core.nn.dataaug.chain.ChainDataaug(dataaugs: Iterable[Callable[[Tensor], Tensor]], probas: Iterable[Real])[source]

Random applycation of the dataaug.

Attributes

probalist[float]

The probability list (readonly).

Initialise the selector.

Parameters

dataaugslist[callable]

The dataaugs chain.

probaslist[float], optional

The probabilities for the dataaugs to be applyed.