Class Rescale

Inheritance Relationships

Base Type

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.