Class DvppDecodePng

Inheritance Relationships

Base Type

Class Documentation

class DvppDecodePng : public mindspore::dataset::TensorTransform

Decode PNG image using the hardware algorithm of Ascend series chip DVPP module.

Public Functions

DvppDecodePng()

Constructor.

Example
/* Define operations */
auto dvpp_op = vision::DvppDecodePng();

/* dataset is an instance of Dataset object */
dataset = dataset->Map({dvpp_op},   // operations
                       {"image"});  // input columns

~DvppDecodePng() = default

Destructor.