Class HorizontalFlip

Inheritance Relationships

Base Type

Class Documentation

class HorizontalFlip : public mindspore::dataset::TensorTransform

Flip the input image horizontally.

Public Functions

HorizontalFlip()

Constructor.

Example
/* dataset is an instance of Dataset object */
dataset = dataset->Map({std::make_shared<vision::Decode>(),
                        std::make_shared<vision::HorizontalFlip>()}, // operations
                       {"image"});                                   // input columns

~HorizontalFlip() = default

Destructor.