Module: tfds.core

API to define datasets.

Defined in core/


class lazy_imports: Lazy importer for heavy dependencies.

class BeamBasedBuilder: Beam based Builder.

class BuilderConfig: Base class for DatasetBuilder data configuration.

class DatasetBuilder: Abstract base class for all datasets.

class GeneratorBasedBuilder: Base class for datasets with data generation based on dict generators.

class DatasetInfo: Information about a dataset.

class NamedSplit: Descriptor corresponding to a named split (train, test, ...).

class SplitBase: Abstract base class for Split compositionality.

class SplitDict: Split info object.

class SplitGenerator: Defines the split information for the generator.

class SplitInfo: Wraps proto.SplitInfo with an additional property.

class Version: Dataset version MAJOR.MINOR.PATCH.


get_tfds_path(...): Returns absolute path to file given path relative to tfds root.