cutcutcodec.core.nn.dataaug.chain.ChainDataaug

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.

property proba: list[float]

Return the probability list.