tfds.core.SplitGenerator

Defines the split information for the generator.

tfds.core.SplitGenerator(
    name: str,
    gen_kwargs: Optional[Dict[str, Any]] = dataclasses.field(default_factory=dict)
)

Used in the notebooks

Used in the tutorials

Attributes

name str, name of the Split for which the generator will create the examples.
gen_kwargs dict, kwargs to forward to the _generate_examples() method of the builder.

Methods

__eq__

__eq__(
    other
)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-04-26 UTC.