Google I/O is a wrap! Catch up on TensorFlow sessions
View sessions
tfds.builder
Fetches a tfds.core.DatasetBuilder
by string name.
tfds.builder(
name: str, *, try_gcs: bool = False, **builder_kwargs
) -> tfds.core.DatasetBuilder
Used in the notebooks
Args |
name
|
str , the registered name of the DatasetBuilder (the class name
as camel or snake case: MyDataset or my_dataset ). This can be either
'dataset_name' or 'dataset_name/config_name' for datasets with
BuilderConfig s. As a convenience, this string may contain
comma-separated keyword arguments for the builder. For example
'foo_bar/a=True,b=3' would use the FooBar dataset passing the
keyword arguments a=True and b=3 (for builders with configs, it
would be 'foo_bar/zoo/a=True,b=3' to use the 'zoo' config and pass
to the builder keyword arguments a=True and b=3 ).
|
try_gcs
|
bool , if True, tfds.load will see if the dataset exists on the
public GCS bucket before building it locally.
|
**builder_kwargs
|
dict of keyword arguments passed to the
tfds.core.DatasetBuilder .
|
Raises |
DatasetNotFoundError
|
if name is unrecognized.
|
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 2022-03-29 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]