<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/core/dataset_builder.py#L88-L141) |

Base class for `DatasetBuilder` data configuration.

    tfds.core.BuilderConfig(
        name: str,
        version: (utils.VersionOrStr | None) = None,
        release_notes: (dict[str, str] | None) = None,
        supported_versions: list[utils.VersionOrStr] = dataclasses.field(default_factory=list),
        description: (str | None) = None,
        tags: list[str] = dataclasses.field(default_factory=list)
    )

DatasetBuilder subclasses with data configuration options should subclass
`BuilderConfig` and add their own properties.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `name` | The name of the config. |
| `version` | The version of the config. |
| `release_notes` | A dictionary associating versions to changes. |
| `supported_versions` | A list of versions which this Builder Config supports. |
| `description` | a human description of the config. |
| `tags` | \[Experimental\] a list of freeform tags applying to the config. This is not used by TFDS, but can be retrieved later from a ConfigBuilder instance. |

<br />

## Methods

### `from_dataset_info`

[View source](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/core/dataset_builder.py#L119-L141)

    @classmethod
    from_dataset_info(
        info_proto: dataset_info_pb2.DatasetInfo
    ) -> (BuilderConfig | None)

Instantiates a BuilderConfig from the given proto.

<br />

<br />

<br />

| Args ||
|---|---|
| `info_proto` | DatasetInfo proto which documents the requested dataset config, including its name, version, and features. |

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| A BuilderConfig for the requested config. ||

<br />

<br />

<br />

<br />

| ## Class Variables ||
|---|---|
| description | `None` |
| release_notes | `None` |
| version | `None` |

<br />