tfds.features.text.TextEncoderConfig

View source on GitHub

Class TextEncoderConfig

Configuration for tfds.features.Text.

__init__

View source

__init__(
    encoder=None,
    encoder_cls=None,
    vocab_size=None,
    name=None
)

Initialize self. See help(type(self)) for accurate signature.