Skip to content

Commit 07c73fc

Browse files
Ryan Sepassicopybara-github
authored andcommitted
Bump version to 1.0.1 for eager bug fix; update docs
PiperOrigin-RevId: 234203415
1 parent 972384f commit 07c73fc

File tree

11 files changed

+45
-58
lines changed

11 files changed

+45
-58
lines changed

docs/_project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: TensorFlow Datasets
2-
breadcrumb_name: Datasets v1.0.0
2+
breadcrumb_name: Datasets v1.0.1
33
home_url: /datasets/
44
parent_project_metadata_path: /_project.yaml
55
description: >

docs/api_docs/python/_toc.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ toc:
88
path: /datasets/api_docs/python/tfds/as_numpy
99
- title: builder
1010
path: /datasets/api_docs/python/tfds/builder
11-
- title: dataset_as_numpy
12-
path: /datasets/api_docs/python/tfds/dataset_as_numpy
1311
- title: list_builders
1412
path: /datasets/api_docs/python/tfds/list_builders
1513
- title: load

docs/api_docs/python/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* <a href="./tfds/core/Version.md"><code>tfds.core.Version</code></a>
1919
* <a href="./tfds/core/get_tfds_path.md"><code>tfds.core.get_tfds_path</code></a>
2020
* <a href="./tfds/core/lazy_imports.md"><code>tfds.core.lazy_imports</code></a>
21-
* <a href="./tfds/dataset_as_numpy.md"><code>tfds.dataset_as_numpy</code></a>
2221
* <a href="./tfds/download.md"><code>tfds.download</code></a>
2322
* <a href="./tfds/download/ComputeStatsMode.md"><code>tfds.download.ComputeStatsMode</code></a>
2423
* <a href="./tfds/download/DownloadConfig.md"><code>tfds.download.DownloadConfig</code></a>

docs/api_docs/python/tfds.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ Documentation:
5454

5555
[`as_numpy(...)`](./tfds/as_numpy.md): Converts a `tf.data.Dataset` to an iterable of NumPy arrays.
5656

57-
[`dataset_as_numpy(...)`](./tfds/dataset_as_numpy.md): DEPRECATED. Renamed <a href="./tfds/as_numpy.md"><code>tfds.as_numpy</code></a>.
58-
5957
[`builder(...)`](./tfds/builder.md): Fetches a <a href="./tfds/core/DatasetBuilder.md"><code>tfds.core.DatasetBuilder</code></a> by string name.
6058

6159
[`list_builders(...)`](./tfds/list_builders.md): Returns the string names of all <a href="./tfds/core/DatasetBuilder.md"><code>tfds.core.DatasetBuilder</code></a>s.

docs/api_docs/python/tfds/_api_cache.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"current_doc_full_name": "tfds.testing.DummyMnist.__dict__",
2+
"current_doc_full_name": "tfds.features.text.SubwordTextEncoder.__reduce__",
33
"duplicate_of": {
44
"tfds.GenerateMode": "tfds.download.GenerateMode",
55
"tfds.GenerateMode.FORCE_REDOWNLOAD": "tfds.download.GenerateMode.FORCE_REDOWNLOAD",
@@ -913,7 +913,6 @@
913913
"tfds.core.Version.patch": true,
914914
"tfds.core.get_tfds_path": false,
915915
"tfds.core.lazy_imports": false,
916-
"tfds.dataset_as_numpy": false,
917916
"tfds.download": false,
918917
"tfds.download.ComputeStatsMode": false,
919918
"tfds.download.ComputeStatsMode.AUTO": true,
@@ -1660,6 +1659,7 @@
16601659
"tfds.testing.DatasetBuilderTestCase.DATASET_CLASS": true,
16611660
"tfds.testing.DatasetBuilderTestCase.DL_EXTRACT_RESULT": true,
16621661
"tfds.testing.DatasetBuilderTestCase.INTERNAL_DATASET": true,
1662+
"tfds.testing.DatasetBuilderTestCase.MOCK_MONARCH": true,
16631663
"tfds.testing.DatasetBuilderTestCase.MOCK_OUT_FORBIDDEN_OS_FUNCTIONS": true,
16641664
"tfds.testing.DatasetBuilderTestCase.OVERLAPPING_SPLITS": true,
16651665
"tfds.testing.DatasetBuilderTestCase.__call__": true,
@@ -1906,6 +1906,7 @@
19061906
"tfds.testing.FeatureExpectationItem.__subclasshook__": true,
19071907
"tfds.testing.FeatureExpectationItem.__weakref__": true,
19081908
"tfds.testing.FeatureExpectationsTestCase": false,
1909+
"tfds.testing.FeatureExpectationsTestCase.MOCK_MONARCH": true,
19091910
"tfds.testing.FeatureExpectationsTestCase.__call__": true,
19101911
"tfds.testing.FeatureExpectationsTestCase.__delattr__": true,
19111912
"tfds.testing.FeatureExpectationsTestCase.__dict__": true,
@@ -2074,6 +2075,7 @@
20742075
"tfds.testing.FeatureExpectationsTestCase.tempfile_cleanup": true,
20752076
"tfds.testing.FeatureExpectationsTestCase.test_session": true,
20762077
"tfds.testing.TestCase": false,
2078+
"tfds.testing.TestCase.MOCK_MONARCH": true,
20772079
"tfds.testing.TestCase.__call__": true,
20782080
"tfds.testing.TestCase.__delattr__": true,
20792081
"tfds.testing.TestCase.__dict__": true,

docs/api_docs/python/tfds/dataset_as_numpy.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@
134134
<meta itemprop="property" content="DATASET_CLASS"/>
135135
<meta itemprop="property" content="DL_EXTRACT_RESULT"/>
136136
<meta itemprop="property" content="INTERNAL_DATASET"/>
137+
<meta itemprop="property" content="MOCK_MONARCH"/>
137138
<meta itemprop="property" content="MOCK_OUT_FORBIDDEN_OS_FUNCTIONS"/>
138139
<meta itemprop="property" content="OVERLAPPING_SPLITS"/>
139140
<meta itemprop="property" content="longMessage"/>
@@ -2488,6 +2489,8 @@ Use `self.session()` or `self.cached_session()` instead.
24882489

24892490
<h3 id="INTERNAL_DATASET"><code>INTERNAL_DATASET</code></h3>
24902491

2492+
<h3 id="MOCK_MONARCH"><code>MOCK_MONARCH</code></h3>
2493+
24912494
<h3 id="MOCK_OUT_FORBIDDEN_OS_FUNCTIONS"><code>MOCK_OUT_FORBIDDEN_OS_FUNCTIONS</code></h3>
24922495

24932496
<h3 id="OVERLAPPING_SPLITS"><code>OVERLAPPING_SPLITS</code></h3>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
<meta itemprop="property" content="tearDown"/>
129129
<meta itemprop="property" content="tearDownClass"/>
130130
<meta itemprop="property" content="test_session"/>
131+
<meta itemprop="property" content="MOCK_MONARCH"/>
131132
<meta itemprop="property" content="longMessage"/>
132133
<meta itemprop="property" content="maxDiff"/>
133134
<meta itemprop="property" content="tempfile_cleanup"/>
@@ -2424,6 +2425,8 @@ Use `self.session()` or `self.cached_session()` instead.
24242425

24252426
## Class Members
24262427

2428+
<h3 id="MOCK_MONARCH"><code>MOCK_MONARCH</code></h3>
2429+
24272430
<h3 id="longMessage"><code>longMessage</code></h3>
24282431

24292432
<h3 id="maxDiff"><code>maxDiff</code></h3>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
<meta itemprop="property" content="tearDown"/>
127127
<meta itemprop="property" content="tearDownClass"/>
128128
<meta itemprop="property" content="test_session"/>
129+
<meta itemprop="property" content="MOCK_MONARCH"/>
129130
<meta itemprop="property" content="longMessage"/>
130131
<meta itemprop="property" content="maxDiff"/>
131132
<meta itemprop="property" content="tempfile_cleanup"/>
@@ -2401,6 +2402,8 @@ Use `self.session()` or `self.cached_session()` instead.
24012402

24022403
## Class Members
24032404

2405+
<h3 id="MOCK_MONARCH"><code>MOCK_MONARCH</code></h3>
2406+
24042407
<h3 id="longMessage"><code>longMessage</code></h3>
24052408

24062409
<h3 id="maxDiff"><code>maxDiff</code></h3>

docs/datasets.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -327,78 +327,78 @@ WARNING: this dataset currently requires you to prepare images on your own.
327327
`celeb_a_hq` is configured with `tfds.image.celebahq.CelebaHQConfig` and has the following
328328
configurations predefined (defaults to the first one):
329329

330-
* `"1"` (`v0.1.0`): CelebaHQ images in 1 x 1 resolution
330+
* `"1024"` (`v0.1.0`): CelebaHQ images in 1024 x 1024 resolution
331331

332-
* `"2"` (`v0.1.0`): CelebaHQ images in 2 x 2 resolution
332+
* `"512"` (`v0.1.0`): CelebaHQ images in 512 x 512 resolution
333333

334-
* `"4"` (`v0.1.0`): CelebaHQ images in 4 x 4 resolution
334+
* `"256"` (`v0.1.0`): CelebaHQ images in 256 x 256 resolution
335335

336-
* `"8"` (`v0.1.0`): CelebaHQ images in 8 x 8 resolution
336+
* `"128"` (`v0.1.0`): CelebaHQ images in 128 x 128 resolution
337337

338-
* `"16"` (`v0.1.0`): CelebaHQ images in 16 x 16 resolution
338+
* `"64"` (`v0.1.0`): CelebaHQ images in 64 x 64 resolution
339339

340340
* `"32"` (`v0.1.0`): CelebaHQ images in 32 x 32 resolution
341341

342-
* `"64"` (`v0.1.0`): CelebaHQ images in 64 x 64 resolution
342+
* `"16"` (`v0.1.0`): CelebaHQ images in 16 x 16 resolution
343343

344-
* `"128"` (`v0.1.0`): CelebaHQ images in 128 x 128 resolution
344+
* `"8"` (`v0.1.0`): CelebaHQ images in 8 x 8 resolution
345345

346-
* `"256"` (`v0.1.0`): CelebaHQ images in 256 x 256 resolution
346+
* `"4"` (`v0.1.0`): CelebaHQ images in 4 x 4 resolution
347347

348-
* `"512"` (`v0.1.0`): CelebaHQ images in 512 x 512 resolution
348+
* `"2"` (`v0.1.0`): CelebaHQ images in 2 x 2 resolution
349349

350-
* `"1024"` (`v0.1.0`): CelebaHQ images in 1024 x 1024 resolution
350+
* `"1"` (`v0.1.0`): CelebaHQ images in 1 x 1 resolution
351351

352352

353-
### `"celeb_a_hq/1"`
353+
### `"celeb_a_hq/1024"`
354354

355355
```
356356
FeaturesDict({
357-
'image': Image(shape=(1, 1, 3), dtype=tf.uint8),
357+
'image': Image(shape=(1024, 1024, 3), dtype=tf.uint8),
358358
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
359359
})
360360
```
361361

362362

363363

364-
### `"celeb_a_hq/2"`
364+
### `"celeb_a_hq/512"`
365365

366366
```
367367
FeaturesDict({
368-
'image': Image(shape=(2, 2, 3), dtype=tf.uint8),
368+
'image': Image(shape=(512, 512, 3), dtype=tf.uint8),
369369
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
370370
})
371371
```
372372

373373

374374

375-
### `"celeb_a_hq/4"`
375+
### `"celeb_a_hq/256"`
376376

377377
```
378378
FeaturesDict({
379-
'image': Image(shape=(4, 4, 3), dtype=tf.uint8),
379+
'image': Image(shape=(256, 256, 3), dtype=tf.uint8),
380380
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
381381
})
382382
```
383383

384384

385385

386-
### `"celeb_a_hq/8"`
386+
### `"celeb_a_hq/128"`
387387

388388
```
389389
FeaturesDict({
390-
'image': Image(shape=(8, 8, 3), dtype=tf.uint8),
390+
'image': Image(shape=(128, 128, 3), dtype=tf.uint8),
391391
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
392392
})
393393
```
394394

395395

396396

397-
### `"celeb_a_hq/16"`
397+
### `"celeb_a_hq/64"`
398398

399399
```
400400
FeaturesDict({
401-
'image': Image(shape=(16, 16, 3), dtype=tf.uint8),
401+
'image': Image(shape=(64, 64, 3), dtype=tf.uint8),
402402
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
403403
})
404404
```
@@ -416,55 +416,55 @@ FeaturesDict({
416416

417417

418418

419-
### `"celeb_a_hq/64"`
419+
### `"celeb_a_hq/16"`
420420

421421
```
422422
FeaturesDict({
423-
'image': Image(shape=(64, 64, 3), dtype=tf.uint8),
423+
'image': Image(shape=(16, 16, 3), dtype=tf.uint8),
424424
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
425425
})
426426
```
427427

428428

429429

430-
### `"celeb_a_hq/128"`
430+
### `"celeb_a_hq/8"`
431431

432432
```
433433
FeaturesDict({
434-
'image': Image(shape=(128, 128, 3), dtype=tf.uint8),
434+
'image': Image(shape=(8, 8, 3), dtype=tf.uint8),
435435
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
436436
})
437437
```
438438

439439

440440

441-
### `"celeb_a_hq/256"`
441+
### `"celeb_a_hq/4"`
442442

443443
```
444444
FeaturesDict({
445-
'image': Image(shape=(256, 256, 3), dtype=tf.uint8),
445+
'image': Image(shape=(4, 4, 3), dtype=tf.uint8),
446446
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
447447
})
448448
```
449449

450450

451451

452-
### `"celeb_a_hq/512"`
452+
### `"celeb_a_hq/2"`
453453

454454
```
455455
FeaturesDict({
456-
'image': Image(shape=(512, 512, 3), dtype=tf.uint8),
456+
'image': Image(shape=(2, 2, 3), dtype=tf.uint8),
457457
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
458458
})
459459
```
460460

461461

462462

463-
### `"celeb_a_hq/1024"`
463+
### `"celeb_a_hq/1"`
464464

465465
```
466466
FeaturesDict({
467-
'image': Image(shape=(1024, 1024, 3), dtype=tf.uint8),
467+
'image': Image(shape=(1, 1, 3), dtype=tf.uint8),
468468
'image/filename': Text(shape=(), dtype=tf.string, encoder=None),
469469
})
470470
```

0 commit comments

Comments
 (0)