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