Class RandomColor
Defined in File vision.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class RandomColor : public mindspore::dataset::TensorTransform
Blend an image with its grayscale version with random weights t and 1 - t generated from a given range. If the range is trivial then the weights are determinate and t equals to the bound of the interval.