class
RandomFlip2D
PythonTraining-only horizontal (width) and vertical (height) image flips.
RandomFlip2D(horizontal: bool = True, vertical: bool = True, **kwargs={})Training-only horizontal (width) and vertical (height) image flips.
Base class: BaseAugmentation2D.
Inherited from BaseAugmentation: augment_masks(), augment_sample(), augment_targets(), batch_augment(), call().
attribute
joint
Pythonjoint = Trueattribute
horizontal
Pythonhorizontal = horizontalattribute
vertical
Pythonvertical = verticalmethod
get_random_transformations(input_shape)method
augment_samples
Pythonaugment_samples(inputs)method
get_config
Pythonget_config()