Skip to content

Commit 90b9a17

Browse files
cyfracopybara-github
authored andcommitted
documentation update.
PiperOrigin-RevId: 282944149
1 parent 4d7355b commit 90b9a17

23 files changed

+912
-25
lines changed

docs/api_docs/python/tfds/_api_cache.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@
232232
"tfds.core": false,
233233
"tfds.core.BeamBasedBuilder": false,
234234
"tfds.core.BeamBasedBuilder.BUILDER_CONFIGS": true,
235+
"tfds.core.BeamBasedBuilder.MANUAL_DOWNLOAD_INSTRUCTIONS": true,
235236
"tfds.core.BeamBasedBuilder.SUPPORTED_VERSIONS": true,
236237
"tfds.core.BeamBasedBuilder.VERSION": true,
237238
"tfds.core.BeamBasedBuilder.__init__": true,
@@ -289,6 +290,7 @@
289290
"tfds.core.BuilderConfig.version": true,
290291
"tfds.core.DatasetBuilder": false,
291292
"tfds.core.DatasetBuilder.BUILDER_CONFIGS": true,
293+
"tfds.core.DatasetBuilder.MANUAL_DOWNLOAD_INSTRUCTIONS": true,
292294
"tfds.core.DatasetBuilder.SUPPORTED_VERSIONS": true,
293295
"tfds.core.DatasetBuilder.VERSION": true,
294296
"tfds.core.DatasetBuilder.__init__": true,
@@ -332,6 +334,7 @@
332334
"tfds.core.Experiment.S3": true,
333335
"tfds.core.GeneratorBasedBuilder": false,
334336
"tfds.core.GeneratorBasedBuilder.BUILDER_CONFIGS": true,
337+
"tfds.core.GeneratorBasedBuilder.MANUAL_DOWNLOAD_INSTRUCTIONS": true,
335338
"tfds.core.GeneratorBasedBuilder.SUPPORTED_VERSIONS": true,
336339
"tfds.core.GeneratorBasedBuilder.VERSION": true,
337340
"tfds.core.GeneratorBasedBuilder.__init__": true,
@@ -968,6 +971,7 @@
968971
"tfds.testing.DatasetBuilderTestCase.test_session": true,
969972
"tfds.testing.DummyDatasetSharedGenerator": false,
970973
"tfds.testing.DummyDatasetSharedGenerator.BUILDER_CONFIGS": true,
974+
"tfds.testing.DummyDatasetSharedGenerator.MANUAL_DOWNLOAD_INSTRUCTIONS": true,
971975
"tfds.testing.DummyDatasetSharedGenerator.SUPPORTED_VERSIONS": true,
972976
"tfds.testing.DummyDatasetSharedGenerator.VERSION": true,
973977
"tfds.testing.DummyDatasetSharedGenerator.__init__": true,
@@ -985,6 +989,7 @@
985989
"tfds.testing.DummyDatasetSharedGenerator.versions": true,
986990
"tfds.testing.DummyMnist": false,
987991
"tfds.testing.DummyMnist.BUILDER_CONFIGS": true,
992+
"tfds.testing.DummyMnist.MANUAL_DOWNLOAD_INSTRUCTIONS": true,
988993
"tfds.testing.DummyMnist.SUPPORTED_VERSIONS": true,
989994
"tfds.testing.DummyMnist.VERSION": true,
990995
"tfds.testing.DummyMnist.__init__": true,

docs/api_docs/python/tfds/core/BeamBasedBuilder.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta itemprop="property" content="as_dataset"/>
1313
<meta itemprop="property" content="download_and_prepare"/>
1414
<meta itemprop="property" content="BUILDER_CONFIGS"/>
15+
<meta itemprop="property" content="MANUAL_DOWNLOAD_INSTRUCTIONS"/>
1516
<meta itemprop="property" content="SUPPORTED_VERSIONS"/>
1617
<meta itemprop="property" content="VERSION"/>
1718
<meta itemprop="property" content="builder_configs"/>
@@ -218,6 +219,8 @@ Downloads and prepares dataset for reading.
218219
## Class Members
219220

220221
* `BUILDER_CONFIGS` <a id="BUILDER_CONFIGS"></a>
222+
* `MANUAL_DOWNLOAD_INSTRUCTIONS = None`
223+
<a id="MANUAL_DOWNLOAD_INSTRUCTIONS"></a>
221224
* `SUPPORTED_VERSIONS` <a id="SUPPORTED_VERSIONS"></a>
222225
* `VERSION = None` <a id="VERSION"></a>
223226
* `builder_configs` <a id="builder_configs"></a>

docs/api_docs/python/tfds/core/DatasetBuilder.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta itemprop="property" content="as_dataset"/>
1313
<meta itemprop="property" content="download_and_prepare"/>
1414
<meta itemprop="property" content="BUILDER_CONFIGS"/>
15+
<meta itemprop="property" content="MANUAL_DOWNLOAD_INSTRUCTIONS"/>
1516
<meta itemprop="property" content="SUPPORTED_VERSIONS"/>
1617
<meta itemprop="property" content="VERSION"/>
1718
<meta itemprop="property" content="builder_configs"/>
@@ -249,6 +250,8 @@ Downloads and prepares dataset for reading.
249250
## Class Members
250251

251252
* `BUILDER_CONFIGS` <a id="BUILDER_CONFIGS"></a>
253+
* `MANUAL_DOWNLOAD_INSTRUCTIONS = None`
254+
<a id="MANUAL_DOWNLOAD_INSTRUCTIONS"></a>
252255
* `SUPPORTED_VERSIONS` <a id="SUPPORTED_VERSIONS"></a>
253256
* `VERSION = None` <a id="VERSION"></a>
254257
* `builder_configs` <a id="builder_configs"></a>

docs/api_docs/python/tfds/core/GeneratorBasedBuilder.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta itemprop="property" content="as_dataset"/>
1313
<meta itemprop="property" content="download_and_prepare"/>
1414
<meta itemprop="property" content="BUILDER_CONFIGS"/>
15+
<meta itemprop="property" content="MANUAL_DOWNLOAD_INSTRUCTIONS"/>
1516
<meta itemprop="property" content="SUPPORTED_VERSIONS"/>
1617
<meta itemprop="property" content="VERSION"/>
1718
<meta itemprop="property" content="builder_configs"/>
@@ -227,6 +228,8 @@ Downloads and prepares dataset for reading.
227228
## Class Members
228229

229230
* `BUILDER_CONFIGS` <a id="BUILDER_CONFIGS"></a>
231+
* `MANUAL_DOWNLOAD_INSTRUCTIONS = None`
232+
<a id="MANUAL_DOWNLOAD_INSTRUCTIONS"></a>
230233
* `SUPPORTED_VERSIONS` <a id="SUPPORTED_VERSIONS"></a>
231234
* `VERSION = None` <a id="VERSION"></a>
232235
* `builder_configs` <a id="builder_configs"></a>

docs/api_docs/python/tfds/core/disallow_positional_args.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
source</a>
1515

1616
<!-- Start diff -->
17-
1817
Requires function to be called using keyword arguments.
1918

2019
```python

docs/api_docs/python/tfds/core/get_tfds_path.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
source</a>
1515

1616
<!-- Start diff -->
17-
1817
Returns absolute path to file given path relative to tfds root.
1918

2019
``` python

docs/api_docs/python/tfds/download/DownloadManager.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,12 @@ For more customization on the download/extraction (ex: passwords, output_name,
7575
<a target="_blank" href="https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/core/download/download_manager.py">View
7676
source</a>
7777

78-
``` python
78+
```python
7979
__init__(
8080
download_dir,
8181
extract_dir=None,
8282
manual_dir=None,
83+
manual_dir_instructions=None,
8384
dataset_name=None,
8485
force_download=False,
8586
force_extraction=False,
@@ -96,6 +97,8 @@ Download manager constructor.
9697
extracted.
9798
* <b>`manual_dir`</b>: `str`, path to manually downloaded/extracted data
9899
directory.
100+
* <b>`manual_dir_instructions`</b>: `str`, human readable instructions on how
101+
to prepare contents of the manual_dir for this dataset.
99102
* <b>`dataset_name`</b>: `str`, name of dataset this instance will be used
100103
for. If provided, downloads will contain which datasets they were used for.
101104
* <b>`force_download`</b>: `bool`, default to False. If True, always

docs/api_docs/python/tfds/is_dataset_on_gcs.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
source</a>
1515

1616
<!-- Start diff -->
17-
1817
If the dataset is available on the GCS bucket gs://tfds-data/datasets.
1918

2019
```python

docs/api_docs/python/tfds/testing/DummyDatasetSharedGenerator.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta itemprop="property" content="as_dataset"/>
1313
<meta itemprop="property" content="download_and_prepare"/>
1414
<meta itemprop="property" content="BUILDER_CONFIGS"/>
15+
<meta itemprop="property" content="MANUAL_DOWNLOAD_INSTRUCTIONS"/>
1516
<meta itemprop="property" content="SUPPORTED_VERSIONS"/>
1617
<meta itemprop="property" content="VERSION"/>
1718
<meta itemprop="property" content="builder_configs"/>
@@ -220,6 +221,8 @@ Downloads and prepares dataset for reading.
220221
## Class Members
221222

222223
* `BUILDER_CONFIGS` <a id="BUILDER_CONFIGS"></a>
224+
* `MANUAL_DOWNLOAD_INSTRUCTIONS = None`
225+
<a id="MANUAL_DOWNLOAD_INSTRUCTIONS"></a>
223226
* `SUPPORTED_VERSIONS` <a id="SUPPORTED_VERSIONS"></a>
224227
* `VERSION` <a id="VERSION"></a>
225228
* `builder_configs` <a id="builder_configs"></a>

docs/api_docs/python/tfds/testing/DummyMnist.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<meta itemprop="property" content="as_dataset"/>
1313
<meta itemprop="property" content="download_and_prepare"/>
1414
<meta itemprop="property" content="BUILDER_CONFIGS"/>
15+
<meta itemprop="property" content="MANUAL_DOWNLOAD_INSTRUCTIONS"/>
1516
<meta itemprop="property" content="SUPPORTED_VERSIONS"/>
1617
<meta itemprop="property" content="VERSION"/>
1718
<meta itemprop="property" content="builder_configs"/>
@@ -220,6 +221,8 @@ Downloads and prepares dataset for reading.
220221
## Class Members
221222

222223
* `BUILDER_CONFIGS` <a id="BUILDER_CONFIGS"></a>
224+
* `MANUAL_DOWNLOAD_INSTRUCTIONS = None`
225+
<a id="MANUAL_DOWNLOAD_INSTRUCTIONS"></a>
223226
* `SUPPORTED_VERSIONS` <a id="SUPPORTED_VERSIONS"></a>
224227
* `VERSION` <a id="VERSION"></a>
225228
* `builder_configs` <a id="builder_configs"></a>

0 commit comments

Comments
 (0)