TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

Module: tfds.core

View source

API to define datasets.


class BeamBasedBuilder: Beam based Builder.

class BuilderConfig: Base class for DatasetBuilder data configuration.

class DatasetBuilder: Abstract base class for all datasets.

class DatasetInfo: Information about a dataset.

class Experiment: Experiments which can be enabled/disabled on a per version basis.

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

class Metadata: Abstract base class for DatasetInfo metadata container.

class MetadataDict: A tfds.core.Metadata object that acts as a dict.

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.

class lazy_imports: Lazy importer for heavy dependencies.


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