Class HorizontalFlip
Defined in File vision.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
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.
-
HorizontalFlip()