Class Rescale
Defined in File vision.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class Rescale : public mindspore::dataset::TensorTransform
Rescale the pixel value of input image.
Public Functions
-
Rescale(float rescale, float shift)
Constructor.
- Parameters
rescale – [in] Rescale factor.
shift – [in] Shift factor.
-
~Rescale() = default
Destructor.
-
Rescale(float rescale, float shift)