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