Skip to content

Commit 95f11eb

Browse files
adarobcopybara-github
authored andcommitted
Bump version to 1.3.0
PiperOrigin-RevId: 275899385
1 parent 375fa36 commit 95f11eb

File tree

15 files changed

+394
-86
lines changed

15 files changed

+394
-86
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.2.0
2+
breadcrumb_name: Datasets v1.3.0
33
home_url: /datasets/
44
parent_project_metadata_path: /_project.yaml
55
description: >

docs/api_docs/python/_toc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ toc:
157157
path: /datasets/api_docs/python/tfds/testing/DummyDatasetSharedGenerator
158158
- title: DummyMnist
159159
path: /datasets/api_docs/python/tfds/testing/DummyMnist
160+
- title: fake_examples_dir
161+
path: /datasets/api_docs/python/tfds/testing/fake_examples_dir
160162
- title: FeatureExpectationItem
161163
path: /datasets/api_docs/python/tfds/testing/FeatureExpectationItem
162164
- title: FeatureExpectationsTestCase

docs/api_docs/python/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
* <a href="./tfds/testing/DatasetBuilderTestCase/failureException.md"><code>tfds.testing.SubTestCase.failureException</code></a>
8282
* <a href="./tfds/testing/TestCase.md"><code>tfds.testing.TestCase</code></a>
8383
* <a href="./tfds/testing/DatasetBuilderTestCase/failureException.md"><code>tfds.testing.TestCase.failureException</code></a>
84+
* <a href="./tfds/testing/fake_examples_dir.md"><code>tfds.testing.fake_examples_dir</code></a>
8485
* <a href="./tfds/testing/make_tmp_dir.md"><code>tfds.testing.make_tmp_dir</code></a>
8586
* <a href="./tfds/testing/mock_data.md"><code>tfds.testing.mock_data</code></a>
8687
* <a href="./tfds/testing/mock_kaggle_api.md"><code>tfds.testing.mock_kaggle_api</code></a>

docs/api_docs/python/tfds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ from an image classification dataset.
8080

8181
## Other Members
8282

83-
* `__version__ = '1.2.0'` <a id="__version__"></a>
83+
* `__version__ = '1.3.0'` <a id="__version__"></a>

docs/api_docs/python/tfds/_api_cache.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,7 @@
13761376
"tfds.testing.TestCase.tearDownClass": true,
13771377
"tfds.testing.TestCase.tempfile_cleanup": true,
13781378
"tfds.testing.TestCase.test_session": true,
1379+
"tfds.testing.fake_examples_dir": false,
13791380
"tfds.testing.make_tmp_dir": false,
13801381
"tfds.testing.mock_data": false,
13811382
"tfds.testing.mock_kaggle_api": false,

docs/api_docs/python/tfds/features/Sequence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ of `tf.data.Dataset` will batch all the elements of the sequence together.
3636
If the length of the sequence is static and known in advance, it should be
3737
specified in the constructor using the `length` param.
3838

39-
Note that `SequenceDict` do not support features which are of type
39+
Note that `Sequence` does not support features which are of type
4040
`tf.io.FixedLenSequenceFeature`.
4141

4242
#### Example:

docs/api_docs/python/tfds/testing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ manager to the TestCase if supported.
3535

3636
## Functions
3737

38+
[`fake_examples_dir(...)`](../tfds/testing/fake_examples_dir.md)
39+
3840
[`make_tmp_dir(...)`](../tfds/testing/make_tmp_dir.md): Make a temporary
3941
directory.
4042

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div itemscope itemtype="http://developers.google.com/ReferenceObject">
2+
<meta itemprop="name" content="tfds.testing.fake_examples_dir" />
3+
<meta itemprop="path" content="Stable" />
4+
</div>
5+
6+
# tfds.testing.fake_examples_dir
7+
8+
<table class="tfo-notebook-buttons tfo-api" align="left">
9+
</table>
10+
11+
<a target="_blank" href="https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/testing/test_utils.py">View
12+
source</a>
13+
14+
```python
15+
tfds.testing.fake_examples_dir()
16+
```
17+
18+
<!-- Placeholder for "Used in" -->

docs/catalog/_toc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ toc:
186186
title: xsum
187187
title: Summarization
188188
- section:
189+
- path: /datasets/catalog/c4
190+
title: c4
189191
- path: /datasets/catalog/definite_pronoun_resolution
190192
title: definite_pronoun_resolution
191193
- path: /datasets/catalog/gap

docs/catalog/big_patent.md

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,33 @@ and has the following configurations predefined (defaults to the first one):
3131

3232
* `all` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under all categories.
3333

34-
* `h` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
35-
Classification (CPC)h: Electricity
34+
* `c` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
35+
Classification (CPC)c: Chemistry; Metallurgy
3636

37-
* `y` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
38-
Classification (CPC)y: General tagging of new or cross-sectional technology
37+
* `b` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
38+
Classification (CPC)b: Performing Operations; Transporting
3939

40-
* `d` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
41-
Classification (CPC)d: Textiles; Paper
40+
* `a` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
41+
Classification (CPC)a: Human Necessities
4242

43-
* `e` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
44-
Classification (CPC)e: Fixed Constructions
43+
* `g` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
44+
Classification (CPC)g: Physics
4545

4646
* `f` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
4747
Classification (CPC)f: Mechanical Engineering; Lightning; Heating; Weapons;
4848
Blasting
4949

50-
* `g` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
51-
Classification (CPC)g: Physics
50+
* `e` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
51+
Classification (CPC)e: Fixed Constructions
5252

53-
* `a` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
54-
Classification (CPC)a: Human Necessities
53+
* `d` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
54+
Classification (CPC)d: Textiles; Paper
5555

56-
* `b` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
57-
Classification (CPC)b: Performing Operations; Transporting
56+
* `y` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
57+
Classification (CPC)y: General tagging of new or cross-sectional technology
5858

59-
* `c` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
60-
Classification (CPC)c: Chemistry; Metallurgy
59+
* `h` (`v1.0.0`) (`Size: 6.01 GiB`): Patents under Cooperative Patent
60+
Classification (CPC)h: Electricity
6161

6262
## `big_patent/all`
6363
Patents under all categories.
@@ -90,9 +90,9 @@ FeaturesDict({
9090
### Supervised keys (for `as_supervised=True`)
9191
`(u'description', u'abstract')`
9292

93-
## `big_patent/h`
93+
## `big_patent/c`
9494

95-
Patents under Cooperative Patent Classification (CPC)h: Electricity
95+
Patents under Cooperative Patent Classification (CPC)c: Chemistry; Metallurgy
9696

9797
Versions:
9898

@@ -102,10 +102,10 @@ Versions:
102102

103103
Split | Examples
104104
:--------- | -------:
105-
ALL | 285,577
106-
TRAIN | 257,019
107-
TEST | 14,279
108-
VALIDATION | 14,279
105+
ALL | 112,269
106+
TRAIN | 101,042
107+
TEST | 5,614
108+
VALIDATION | 5,613
109109

110110
### Features
111111
```python
@@ -122,10 +122,10 @@ FeaturesDict({
122122
### Supervised keys (for `as_supervised=True`)
123123
`(u'description', u'abstract')`
124124

125-
## `big_patent/y`
125+
## `big_patent/b`
126126

127-
Patents under Cooperative Patent Classification (CPC)y: General tagging of new
128-
or cross-sectional technology
127+
Patents under Cooperative Patent Classification (CPC)b: Performing Operations;
128+
Transporting
129129

130130
Versions:
131131

@@ -135,10 +135,10 @@ Versions:
135135

136136
Split | Examples
137137
:--------- | -------:
138-
ALL | 138,219
139-
TRAIN | 124,397
140-
TEST | 6,911
141-
VALIDATION | 6,911
138+
ALL | 179,467
139+
TRAIN | 161,520
140+
TEST | 8,974
141+
VALIDATION | 8,973
142142

143143
### Features
144144
```python
@@ -155,9 +155,9 @@ FeaturesDict({
155155
### Supervised keys (for `as_supervised=True`)
156156
`(u'description', u'abstract')`
157157

158-
## `big_patent/d`
158+
## `big_patent/a`
159159

160-
Patents under Cooperative Patent Classification (CPC)d: Textiles; Paper
160+
Patents under Cooperative Patent Classification (CPC)a: Human Necessities
161161

162162
Versions:
163163

@@ -167,10 +167,10 @@ Versions:
167167

168168
Split | Examples
169169
:--------- | -------:
170-
ALL | 11,294
171-
TRAIN | 10,164
172-
TEST | 565
173-
VALIDATION | 565
170+
ALL | 193,483
171+
TRAIN | 174,134
172+
TEST | 9,675
173+
VALIDATION | 9,674
174174

175175
### Features
176176
```python
@@ -187,9 +187,9 @@ FeaturesDict({
187187
### Supervised keys (for `as_supervised=True`)
188188
`(u'description', u'abstract')`
189189

190-
## `big_patent/e`
190+
## `big_patent/g`
191191

192-
Patents under Cooperative Patent Classification (CPC)e: Fixed Constructions
192+
Patents under Cooperative Patent Classification (CPC)g: Physics
193193

194194
Versions:
195195

@@ -199,10 +199,10 @@ Versions:
199199

200200
Split | Examples
201201
:--------- | -------:
202-
ALL | 38,271
203-
TRAIN | 34,443
204-
TEST | 1,914
205-
VALIDATION | 1,914
202+
ALL | 287,706
203+
TRAIN | 258,935
204+
TEST | 14,386
205+
VALIDATION | 14,385
206206

207207
### Features
208208
```python
@@ -252,9 +252,9 @@ FeaturesDict({
252252
### Supervised keys (for `as_supervised=True`)
253253
`(u'description', u'abstract')`
254254

255-
## `big_patent/g`
255+
## `big_patent/e`
256256

257-
Patents under Cooperative Patent Classification (CPC)g: Physics
257+
Patents under Cooperative Patent Classification (CPC)e: Fixed Constructions
258258

259259
Versions:
260260

@@ -264,10 +264,10 @@ Versions:
264264

265265
Split | Examples
266266
:--------- | -------:
267-
ALL | 287,706
268-
TRAIN | 258,935
269-
TEST | 14,386
270-
VALIDATION | 14,385
267+
ALL | 38,271
268+
TRAIN | 34,443
269+
TEST | 1,914
270+
VALIDATION | 1,914
271271

272272
### Features
273273
```python
@@ -284,9 +284,9 @@ FeaturesDict({
284284
### Supervised keys (for `as_supervised=True`)
285285
`(u'description', u'abstract')`
286286

287-
## `big_patent/a`
287+
## `big_patent/d`
288288

289-
Patents under Cooperative Patent Classification (CPC)a: Human Necessities
289+
Patents under Cooperative Patent Classification (CPC)d: Textiles; Paper
290290

291291
Versions:
292292

@@ -296,10 +296,10 @@ Versions:
296296

297297
Split | Examples
298298
:--------- | -------:
299-
ALL | 193,483
300-
TRAIN | 174,134
301-
TEST | 9,675
302-
VALIDATION | 9,674
299+
ALL | 11,294
300+
TRAIN | 10,164
301+
TEST | 565
302+
VALIDATION | 565
303303

304304
### Features
305305
```python
@@ -316,10 +316,10 @@ FeaturesDict({
316316
### Supervised keys (for `as_supervised=True`)
317317
`(u'description', u'abstract')`
318318

319-
## `big_patent/b`
319+
## `big_patent/y`
320320

321-
Patents under Cooperative Patent Classification (CPC)b: Performing Operations;
322-
Transporting
321+
Patents under Cooperative Patent Classification (CPC)y: General tagging of new
322+
or cross-sectional technology
323323

324324
Versions:
325325

@@ -329,10 +329,10 @@ Versions:
329329

330330
Split | Examples
331331
:--------- | -------:
332-
ALL | 179,467
333-
TRAIN | 161,520
334-
TEST | 8,974
335-
VALIDATION | 8,973
332+
ALL | 138,219
333+
TRAIN | 124,397
334+
TEST | 6,911
335+
VALIDATION | 6,911
336336

337337
### Features
338338
```python
@@ -349,9 +349,9 @@ FeaturesDict({
349349
### Supervised keys (for `as_supervised=True`)
350350
`(u'description', u'abstract')`
351351

352-
## `big_patent/c`
352+
## `big_patent/h`
353353

354-
Patents under Cooperative Patent Classification (CPC)c: Chemistry; Metallurgy
354+
Patents under Cooperative Patent Classification (CPC)h: Electricity
355355

356356
Versions:
357357

@@ -361,10 +361,10 @@ Versions:
361361

362362
Split | Examples
363363
:--------- | -------:
364-
ALL | 112,269
365-
TRAIN | 101,042
366-
TEST | 5,614
367-
VALIDATION | 5,613
364+
ALL | 285,577
365+
TRAIN | 257,019
366+
TEST | 14,279
367+
VALIDATION | 14,279
368368

369369
### Features
370370
```python

0 commit comments

Comments
 (0)