Skip to content

Commit b7d35c2

Browse files
authored
Merge branch 'master' into opinosis
2 parents 75dbe6a + 669f0b5 commit b7d35c2

File tree

873 files changed

+102950
-26522
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

873 files changed

+102950
-26522
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ input pipelines with `tf.data` but use whatever you'd like for your model
145145
components.
146146

147147
```python
148-
train_ds = tfds.load("mnist", split=tfds.Split.TRAIN)
148+
train_ds = tfds.load("mnist", split="train")
149149
train_ds = train_ds.shuffle(1024).batch(128).repeat(5).prefetch(10)
150150
for example in tfds.as_numpy(train_ds):
151151
numpy_images, numpy_labels = example["image"], example["label"]

docs/_book.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ upper_tabs:
2727
path: /datasets/add_dataset
2828
- title: Feature decoding
2929
path: /datasets/decode
30-
- title: Add huge datasets
30+
- title: Add huge datasets (Apache Beam)
3131
path: /datasets/beam_datasets
3232
- title: Store your dataset on GCS
3333
path: /datasets/gcs

docs/_index.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"print(tfds.list_builders())\n",
4848
"\n",
4949
"# Construct a tf.data.Dataset\n",
50-
"dataset = tfds.load(name=\"mnist\", split=tfds.Split.TRAIN)\n",
50+
"dataset = tfds.load(name=\"mnist\", split=\"train\")\n",
5151
"\n",
5252
"# Build your input pipeline\n",
5353
"dataset = dataset.shuffle(1024).batch(32).prefetch(tf.data.experimental.AUTOTUNE)\n",

docs/_index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ landing_page:
3333
print(tfds.list_builders())
3434
3535
# Construct a tf.data.Dataset
36-
dataset = tfds.load(name="mnist", split=tfds.Split.TRAIN)
36+
dataset = tfds.load(name="mnist", split="train")
3737
3838
# Build your input pipeline
3939
dataset = dataset.shuffle(1024).batch(32).prefetch(tf.data.experimental.AUTOTUNE)

docs/add_dataset.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ See our [list of datasets](catalog/overview.md) to see if the dataset you want
66
isn't already added.
77

88
* [Overview](#overview)
9-
* [Writing `my_dataset.py`](#writing-my-datasetpy)
9+
* [Writing `my_dataset.py`](#writing-my_datasetpy)
1010
* [Use the default template](#use-the-default-template)
11-
* [DatasetBuilder](#datasetbuilde)
12-
* [my_dataset.py](#my-datasetpy)
11+
* [DatasetBuilder](#datasetbuilder)
12+
* [my_dataset.py](#my_datasetpy)
1313
* [Specifying `DatasetInfo`](#specifying-datasetinfo)
1414
* [`FeatureConnector`s](#featureconnectors)
1515
* [Downloading and extracting source data](#downloading-and-extracting-source-data)
@@ -558,6 +558,10 @@ for more information.
558558

559559
Send the pull request for review.
560560

561+
When creating the pull request, fill in the areas for the name, issue reference,
562+
and GitHub Gist link. When using the checklist, replace each `[ ]` with `[x]` to
563+
mark it off.
564+
561565

562566
## Define the dataset outside TFDS.
563567

docs/api_docs/python/_redirects.yaml

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

docs/api_docs/python/_toc.yaml

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

docs/api_docs/python/index.md

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

0 commit comments

Comments
 (0)