Class Invert
Defined in File vision.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class Invert : public mindspore::dataset::TensorTransform
Apply invert on the input image in RGB mode.
Public Functions
-
Invert()
Constructor.
- Example
/* dataset is an instance of Dataset object */ dataset = dataset->Map({std::make_shared<vision::Decode>(), std::make_shared<vision::Invert>()}, // operations {"image"}); // input columns
-
~Invert() = default
Destructor.
-
Invert()