Class DvppDecodePng
Defined in File vision_ascend.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
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.
-
DvppDecodePng()