Skip to content

Commit

Permalink
Bump version to 1.3.0
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 275899385
  • Loading branch information
adarob authored and copybara-github committed Oct 21, 2019
1 parent 375fa36 commit 95f11eb
Show file tree
Hide file tree
Showing 15 changed files with 394 additions and 86 deletions.
2 changes: 1 addition & 1 deletion docs/_project.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: TensorFlow Datasets
breadcrumb_name: Datasets v1.2.0
breadcrumb_name: Datasets v1.3.0
home_url: /datasets/
parent_project_metadata_path: /_project.yaml
description: >
Expand Down
2 changes: 2 additions & 0 deletions docs/api_docs/python/_toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ toc:
path: /datasets/api_docs/python/tfds/testing/DummyDatasetSharedGenerator
- title: DummyMnist
path: /datasets/api_docs/python/tfds/testing/DummyMnist
- title: fake_examples_dir
path: /datasets/api_docs/python/tfds/testing/fake_examples_dir
- title: FeatureExpectationItem
path: /datasets/api_docs/python/tfds/testing/FeatureExpectationItem
- title: FeatureExpectationsTestCase
Expand Down
1 change: 1 addition & 0 deletions docs/api_docs/python/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
* <a href="./tfds/testing/DatasetBuilderTestCase/failureException.md"><code>tfds.testing.SubTestCase.failureException</code></a>
* <a href="./tfds/testing/TestCase.md"><code>tfds.testing.TestCase</code></a>
* <a href="./tfds/testing/DatasetBuilderTestCase/failureException.md"><code>tfds.testing.TestCase.failureException</code></a>
* <a href="./tfds/testing/fake_examples_dir.md"><code>tfds.testing.fake_examples_dir</code></a>
* <a href="./tfds/testing/make_tmp_dir.md"><code>tfds.testing.make_tmp_dir</code></a>
* <a href="./tfds/testing/mock_data.md"><code>tfds.testing.mock_data</code></a>
* <a href="./tfds/testing/mock_kaggle_api.md"><code>tfds.testing.mock_kaggle_api</code></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/api_docs/python/tfds.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ from an image classification dataset.

## Other Members

* `__version__ = '1.2.0'` <a id="__version__"></a>
* `__version__ = '1.3.0'` <a id="__version__"></a>
1 change: 1 addition & 0 deletions docs/api_docs/python/tfds/_api_cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -1376,6 +1376,7 @@
"tfds.testing.TestCase.tearDownClass": true,
"tfds.testing.TestCase.tempfile_cleanup": true,
"tfds.testing.TestCase.test_session": true,
"tfds.testing.fake_examples_dir": false,
"tfds.testing.make_tmp_dir": false,
"tfds.testing.mock_data": false,
"tfds.testing.mock_kaggle_api": false,
Expand Down
2 changes: 1 addition & 1 deletion docs/api_docs/python/tfds/features/Sequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ of `tf.data.Dataset` will batch all the elements of the sequence together.
If the length of the sequence is static and known in advance, it should be
specified in the constructor using the `length` param.

Note that `SequenceDict` do not support features which are of type
Note that `Sequence` does not support features which are of type
`tf.io.FixedLenSequenceFeature`.

#### Example:
Expand Down
2 changes: 2 additions & 0 deletions docs/api_docs/python/tfds/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ manager to the TestCase if supported.

## Functions

[`fake_examples_dir(...)`](../tfds/testing/fake_examples_dir.md)

[`make_tmp_dir(...)`](../tfds/testing/make_tmp_dir.md): Make a temporary
directory.

Expand Down
18 changes: 18 additions & 0 deletions docs/api_docs/python/tfds/testing/fake_examples_dir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<div itemscope itemtype="http://developers.google.com/ReferenceObject">
<meta itemprop="name" content="tfds.testing.fake_examples_dir" />
<meta itemprop="path" content="Stable" />
</div>

# tfds.testing.fake_examples_dir

<table class="tfo-notebook-buttons tfo-api" align="left">
</table>

<a target="_blank" href="https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/testing/test_utils.py">View
source</a>

```python
tfds.testing.fake_examples_dir()
```

<!-- Placeholder for "Used in" -->
2 changes: 2 additions & 0 deletions docs/catalog/_toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ toc:
title: xsum
title: Summarization
- section:
- path: /datasets/catalog/c4
title: c4
- path: /datasets/catalog/definite_pronoun_resolution
title: definite_pronoun_resolution
- path: /datasets/catalog/gap
Expand Down
132 changes: 66 additions & 66 deletions docs/catalog/big_patent.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,33 @@ and has the following configurations predefined (defaults to the first one):

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

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

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

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

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

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

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

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

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

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

## `big_patent/all`
Patents under all categories.
Expand Down Expand Up @@ -90,9 +90,9 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/h`
## `big_patent/c`

Patents under Cooperative Patent Classification (CPC)h: Electricity
Patents under Cooperative Patent Classification (CPC)c: Chemistry; Metallurgy

Versions:

Expand All @@ -102,10 +102,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 285,577
TRAIN | 257,019
TEST | 14,279
VALIDATION | 14,279
ALL | 112,269
TRAIN | 101,042
TEST | 5,614
VALIDATION | 5,613

### Features
```python
Expand All @@ -122,10 +122,10 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/y`
## `big_patent/b`

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

Versions:

Expand All @@ -135,10 +135,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 138,219
TRAIN | 124,397
TEST | 6,911
VALIDATION | 6,911
ALL | 179,467
TRAIN | 161,520
TEST | 8,974
VALIDATION | 8,973

### Features
```python
Expand All @@ -155,9 +155,9 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/d`
## `big_patent/a`

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

Versions:

Expand All @@ -167,10 +167,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 11,294
TRAIN | 10,164
TEST | 565
VALIDATION | 565
ALL | 193,483
TRAIN | 174,134
TEST | 9,675
VALIDATION | 9,674

### Features
```python
Expand All @@ -187,9 +187,9 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/e`
## `big_patent/g`

Patents under Cooperative Patent Classification (CPC)e: Fixed Constructions
Patents under Cooperative Patent Classification (CPC)g: Physics

Versions:

Expand All @@ -199,10 +199,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 38,271
TRAIN | 34,443
TEST | 1,914
VALIDATION | 1,914
ALL | 287,706
TRAIN | 258,935
TEST | 14,386
VALIDATION | 14,385

### Features
```python
Expand Down Expand Up @@ -252,9 +252,9 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/g`
## `big_patent/e`

Patents under Cooperative Patent Classification (CPC)g: Physics
Patents under Cooperative Patent Classification (CPC)e: Fixed Constructions

Versions:

Expand All @@ -264,10 +264,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 287,706
TRAIN | 258,935
TEST | 14,386
VALIDATION | 14,385
ALL | 38,271
TRAIN | 34,443
TEST | 1,914
VALIDATION | 1,914

### Features
```python
Expand All @@ -284,9 +284,9 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/a`
## `big_patent/d`

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

Versions:

Expand All @@ -296,10 +296,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 193,483
TRAIN | 174,134
TEST | 9,675
VALIDATION | 9,674
ALL | 11,294
TRAIN | 10,164
TEST | 565
VALIDATION | 565

### Features
```python
Expand All @@ -316,10 +316,10 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/b`
## `big_patent/y`

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

Versions:

Expand All @@ -329,10 +329,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 179,467
TRAIN | 161,520
TEST | 8,974
VALIDATION | 8,973
ALL | 138,219
TRAIN | 124,397
TEST | 6,911
VALIDATION | 6,911

### Features
```python
Expand All @@ -349,9 +349,9 @@ FeaturesDict({
### Supervised keys (for `as_supervised=True`)
`(u'description', u'abstract')`

## `big_patent/c`
## `big_patent/h`

Patents under Cooperative Patent Classification (CPC)c: Chemistry; Metallurgy
Patents under Cooperative Patent Classification (CPC)h: Electricity

Versions:

Expand All @@ -361,10 +361,10 @@ Versions:

Split | Examples
:--------- | -------:
ALL | 112,269
TRAIN | 101,042
TEST | 5,614
VALIDATION | 5,613
ALL | 285,577
TRAIN | 257,019
TEST | 14,279
VALIDATION | 14,279

### Features
```python
Expand Down
Loading

0 comments on commit 95f11eb

Please sign in to comment.