mindspore.dataset.transforms.py_transforms
This module py_transforms is implemented basing on python. It provides commonoperations including OneHotOp.
- class
mindspore.dataset.transforms.pytransforms.
OneHotOp
(_num_classes, smoothing_rate=0.0)[source] Apply one hot encoding transformation to the input label, make label be more smoothing and continuous.