Class RandomSharpness

Inheritance Relationships

Base Type

Class Documentation

class RandomSharpness : public mindspore::dataset::TensorTransform

Adjust the sharpness of the input image by a fixed or random degree.

Public Functions

explicit RandomSharpness(std::vector<float> degrees = {0.1, 1.9})

Constructor.

Parameters

degrees[in] A float vector of size 2, representing the range of random sharpness adjustment degrees. It should be in (min, max) format. If min=max, then it is a single fixed magnitude operation (default = (0.1, 1.9)).

~RandomSharpness() = default

Destructor.