Class TruncateSequencePair
Defined in File text.h
Inheritance Relationships
Base Type
public mindspore::dataset::TensorTransform
(Class TensorTransform)
Class Documentation
-
class TruncateSequencePair : public mindspore::dataset::TensorTransform
Truncate a pair of rank-1 tensors such that the total length is less than max_length.