Class VerticalFlip

Inheritance Relationships

Base Type

Class Documentation

class VerticalFlip : public mindspore::dataset::TensorTransform

Flip the input image vertically.

Public Functions

VerticalFlip()

Constructor.

Example
/* Define operations */
auto decode_op = vision::Decode();
auto flip_op = vision::VerticalFlip();

/* dataset is an instance of Dataset object */
dataset = dataset->Map({decode_op, flip_op},  // operations
                       {"image"});            // input columns

~VerticalFlip() = default

Destructor.