Class RandomVerticalFlip

Inheritance Relationships

Base Type

Class Documentation

class RandomVerticalFlip : public mindspore::dataset::TensorTransform

Randomly flip the input image vertically with a given probability.

Public Functions

explicit RandomVerticalFlip(float prob = 0.5)

Constructor.

Parameters

prob[in] A float representing the probability of flip.

~RandomVerticalFlip() = default

Destructor.