Class Decode

Inheritance Relationships

Base Type

Class Documentation

class Decode : public mindspore::dataset::TensorTransform

Decode the input image in RGB mode.

Public Functions

explicit Decode(bool rgb = true)

Constructor.

Parameters

rgb[in] A boolean indicating whether to decode the image in RGB mode or not.

~Decode() = default

Destructor.