Class CaseFold

Inheritance Relationships

Base Type

Class Documentation

class CaseFold : public mindspore::dataset::TensorTransform

Apply case fold operation on UTF-8 string tensors.

Public Functions

CaseFold()

Constructor.

Example
/* Define operations */
auto casefold_op = text::CaseFold();

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

~CaseFold() = default

Destructor.