trw.transforms.transforms_one_of
¶
Module Contents¶
Classes¶
Randomly select a transform among a set of transforms and apply it |
- class trw.transforms.transforms_one_of.TransformOneOf(transforms: List[Optional[trw.transforms.transforms.Transform]])¶
Bases:
trw.transforms.transforms.Transform
Randomly select a transform among a set of transforms and apply it
- __call__(self, batch: trw.basic_typing.Batch) trw.basic_typing.Batch ¶