Skip to content

Commit 9fe00ff

Browse files
committed
Merge branch 'tensorflow:master' into lint-ragged-tensor
2 parents 297b381 + 64649d8 commit 9fe00ff

26 files changed

+2111
-217
lines changed

OWNERS_METADATA

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Text proto format: devtools_piper.OwnersMetadataFile (go/owners_metadata)
2+
# See go/silos-lite for details on how to use this file for read access control.
3+
silo_acl {
4+
# Acknowledgement that silo won't contain privacy sensitive data, like PII.
5+
silo_will_contain_privacy_sensitive_data: false
6+
7+
# This retains normal access for regular engineers and other accounts.
8+
access_type: OPEN
9+
10+
# This is equivalent to above. Currently, default_ganpati_group is a
11+
# mandatory field in SiloAcl. We plan to make it optional in case
12+
# access_type is OPEN.
13+
default_ganpati_group: "piper-group-default-access"
14+
15+
# Ganpati1 groups that are granted *read* access in addition to the default
16+
# group above.
17+
allowed_ganpati_groups: "restricted-dev-build"
18+
allowed_ganpati_groups: "job-0000396906033-webdevelopmentdevelopermarketingwebprojects"
19+
allowed_ganpati_groups: "job-0000551608589-smetechnicalwriterii"
20+
}

site/en/about/bib.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# TensorFlow White Papers
1+
# Citing TensorFlow
22

3-
This document identifies white papers about TensorFlow.
3+
TensorFlow publishes a DOI for the open-source code base using Zenodo.org:
4+
[10.5281/zenodo.4724125](https://doi.org/10.5281/zenodo.4724125)
5+
6+
TensorFlow's white papers are listed for citation below.
47

58
## Large-Scale Machine Learning on Heterogeneous Distributed Systems
69

site/en/guide/basic_training_loops.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@
327327
"id": "RwWPaJryD2aN"
328328
},
329329
"source": [
330-
"For a look at training, you can send the same batch of *x* an *y* through the training loop, and see how `W` and `b` evolve."
330+
"For a look at training, you can send the same batch of *x* and *y* through the training loop, and see how `W` and `b` evolve."
331331
]
332332
},
333333
{

site/en/guide/checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@
520520
"source": [
521521
"### Manually inspecting checkpoints\n",
522522
"\n",
523-
"`tf.train.load_checkpoint` returns a `CheckpointReader` that gives lower level access to the checkpoint contents. It contains mappings from each vartiable's key, to the shape and dtype for each variable in the checkpoint. A variable's key is its object path, like in the graphs displayed above.\n",
523+
"`tf.train.load_checkpoint` returns a `CheckpointReader` that gives lower level access to the checkpoint contents. It contains mappings from each variable's key, to the shape and dtype for each variable in the checkpoint. A variable's key is its object path, like in the graphs displayed above.\n",
524524
"\n",
525525
"Note: There is no higher level structure to the checkpoint. It only know's the paths and values for the variables, and has no concept of `models`, `layers` or how they are connected."
526526
]

site/en/guide/tpu.ipynb

Lines changed: 47 additions & 40 deletions
Large diffs are not rendered by default.

site/en/guide/variable.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"print(\"\\nIndex of highest value:\", tf.argmax(my_variable))\n",
170170
"\n",
171171
"# This creates a new tensor; it does not reshape the variable.\n",
172-
"print(\"\\nCopying and reshaping: \", tf.reshape(my_variable, ([1,4])))"
172+
"print(\"\\nCopying and reshaping: \", tf.reshape(my_variable, [1,4]))"
173173
]
174174
},
175175
{

site/en/install/_index.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ landing_page:
2727
</td><td>
2828
<ul>
2929
<li>macOS 10.12.6 (Sierra) or later (no GPU support)</li>
30-
<li>Raspbian 9.0 or later</li>
3130
</ul>
3231
</td></tr>
3332
</table>
@@ -40,7 +39,7 @@ landing_page:
4039
description: >
4140
<p>Install TensorFlow with Python's <em>pip</em> package manager.</p>
4241
<aside class="note">TensorFlow 2 packages require a <code>pip</code> version >19.0 (or >20.3 for macOS).</aside>
43-
<p>Official packages available for Ubuntu, Windows, macOS, and the Raspberry Pi.</p>
42+
<p>Official packages available for Ubuntu, Windows, and macOS.</p>
4443
<p>See the <a href="./gpu">GPU guide</a> for CUDA®-enabled cards.</p>
4544
4645
buttons:

site/en/install/pip.html

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ <h3>System requirements</h3>
4444
Redistributable for Visual Studio 2015, 2017 and 2019</a></li>
4545
</ul>
4646
</li>
47-
<li>Raspbian 9.0 or later</li>
4847
<li><a href="./gpu">GPU support</a> requires a CUDA®-enabled card <em>(Ubuntu and Windows)</em></li>
4948
</ul>
5049

@@ -117,16 +116,6 @@ <h3>Windows</h3>
117116
<p>Install the <em>64-bit</em> <a href="https://www.python.org/downloads/windows/" class="external">Python 3 release for Windows</a> (select <code>pip</code> as an optional feature).</p>
118117
</section>
119118

120-
<section>
121-
<h3>Raspberry Pi</h3>
122-
<p>Requirements for the <a href="https://www.raspberrypi.org/downloads/raspbian/" class="external">Raspbian</a> operating system:</p>
123-
<pre class="prettyprint lang-bsh">
124-
<code class="devsite-terminal">sudo apt update</code>
125-
<code class="devsite-terminal">sudo apt install python3-dev python3-pip python3-venv</code>
126-
<code class="devsite-terminal">sudo apt install libatlas-base-dev # required for numpy</code>
127-
</pre>
128-
</section>
129-
130119
<section>
131120
<h3>Other</h3>
132121
<pre class="prettyprint lang-bsh">
@@ -271,78 +260,89 @@ <h2>Package location</h2>
271260
<tr class="alt"><td colspan="2">Linux</td></tr>
272261
<tr>
273262
<td>Python 3.6 GPU&nbsp;support</td>
274-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.4.0-cp36-cp36m-manylinux2010_x86_64.whl</td>
263+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.5.0-cp36-cp36m-manylinux2010_x86_64.whl</td>
275264
</tr>
276265
<tr>
277266
<td>Python 3.6 CPU-only</td>
278-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.4.0-cp36-cp36m-manylinux2010_x86_64.whl</td>
267+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.5.0-cp36-cp36m-manylinux2010_x86_64.whl</td>
279268
</tr>
280269
<tr>
281270
<td>Python 3.7 GPU&nbsp;support</td>
282-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.4.0-cp37-cp37m-manylinux2010_x86_64.whl</td>
271+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.5.0-cp37-cp37m-manylinux2010_x86_64.whl</td>
283272
</tr>
284273
<tr>
285274
<td>Python 3.7 CPU-only</td>
286-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.4.0-cp37-cp37m-manylinux2010_x86_64.whl</td>
275+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.5.0-cp37-cp37m-manylinux2010_x86_64.whl</td>
287276
</tr>
288277
<tr>
289278
<td>Python 3.8 GPU&nbsp;support</td>
290-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.4.0-cp38-cp38-manylinux2010_x86_64.whl</td>
279+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.5.0-cp38-cp38-manylinux2010_x86_64.whl</td>
291280
</tr>
292281
<tr>
293282
<td>Python 3.8 CPU-only</td>
294-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.4.0-cp38-cp38-manylinux2010_x86_64.whl</td>
283+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.5.0-cp38-cp38-manylinux2010_x86_64.whl</td>
284+
</tr>
285+
<tr>
286+
<td>Python 3.9 GPU&nbsp;support</td>
287+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-2.5.0-cp39-cp39-manylinux2010_x86_64.whl</td>
288+
</tr>
289+
<tr>
290+
<td>Python 3.9 CPU-only</td>
291+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.5.0-cp39-cp39-manylinux2010_x86_64.whl</td>
295292
</tr>
296293

297294
<tr class="alt"><td colspan="2">macOS (CPU-only)</td></tr>
298295
<tr>
299296
<td>Python 3.6</td>
300-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.4.0-cp36-cp36m-macosx_10_9_x86_64.whl</td>
297+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.5.0-cp36-cp36m-macosx_10_11_x86_64.whl</td>
301298
</tr>
302299
<tr>
303300
<td>Python 3.7</td>
304-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.4.0-cp37-cp37m-macosx_10_9_x86_64.whl</td>
301+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.5.0-cp37-cp37m-macosx_10_11_x86_64.whl</td>
302+
</tr>
303+
<tr>
304+
<td>Python 3.8</td>
305+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.5.0-cp38-cp38-macosx_10_11_x86_64.whl</td>
305306
</tr>
306307
<tr>
307308
<td>Python 3.8</td>
308-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.4.0-cp38-cp38-macosx_10_14_x86_64.whl</td>
309+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-2.5.0-cp39-cp39-macosx_10_11_x86_64.whl</td>
309310
</tr>
310311

311312
<tr class="alt"><td colspan="2">Windows</td></tr>
312313
<tr>
313314
<td>Python 3.6 GPU&nbsp;support</td>
314-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.4.0-cp36-cp36m-win_amd64.whl</td>
315+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.5.0-cp36-cp36m-win_amd64.whl</td>
315316
</tr>
316317
<tr>
317318
<td>Python 3.6 CPU-only</td>
318-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.4.0-cp36-cp36m-win_amd64.whl</td>
319+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.5.0-cp36-cp36m-win_amd64.whl</td>
319320
</tr>
320321
<tr>
321322
<td>Python 3.7 GPU&nbsp;support</td>
322-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.4.0-cp37-cp37m-win_amd64.whl</td>
323+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.5.0-cp37-cp37m-win_amd64.whl</td>
323324
</tr>
324325
<tr>
325326
<td>Python 3.7 CPU-only</td>
326-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.4.0-cp37-cp37m-win_amd64.whl</td>
327+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.5.0-cp37-cp37m-win_amd64.whl</td>
327328
</tr>
328329
<tr>
329330
<td>Python 3.8 GPU&nbsp;support</td>
330-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.4.0-cp38-cp38-win_amd64.whl</td>
331+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.5.0-cp38-cp38-win_amd64.whl</td>
331332
</tr>
332333
<tr>
333334
<td>Python 3.8 CPU-only</td>
334-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.4.0-cp38-cp38-win_amd64.whl</td>
335+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.5.0-cp38-cp38-win_amd64.whl</td>
335336
</tr>
336-
337-
<tr class="alt"><td colspan="2">Raspberry PI (CPU-only)</td></tr>
338337
<tr>
339-
<td>Python 3, Pi0 or Pi1</td>
340-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/raspberrypi/tensorflow-2.3.0rc2-cp35-none-linux_armv6l.whl</td>
338+
<td>Python 3.9 GPU&nbsp;support</td>
339+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-2.5.0-cp39-cp39-win_amd64.whl</td>
341340
</tr>
342-
<tr>
343-
<td>Python 3, Pi2 or Pi3</td>
344-
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/raspberrypi/tensorflow-2.3.0rc2-cp35-none-linux_armv6l.whl</td>
341+
<tr>
342+
<td>Python 3.9 CPU-only</td>
343+
<td class="devsite-click-to-copy">https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow_cpu-2.5.0-cp39-cp39-win_amd64.whl</td>
345344
</tr>
345+
346346
</table>
347347

348348
</body>

site/en/install/source.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ Success: TensorFlow is now installed.
415415

416416
<table>
417417
<tr><th>Version</th><th>Python version</th><th>Compiler</th><th>Build tools</th></tr>
418+
<tr><td>tensorflow-2.5.0</td><td>3.6-3.9</td><td>GCC 7.3.1</td><td>Bazel 3.1.0</td></tr>
418419
<tr><td>tensorflow-2.4.0</td><td>3.6-3.8</td><td>GCC 7.3.1</td><td>Bazel 3.1.0</td></tr>
419420
<tr><td>tensorflow-2.3.0</td><td>3.5-3.8</td><td>GCC 7.3.1</td><td>Bazel 3.1.0</td></tr>
420421
<tr><td>tensorflow-2.2.0</td><td>3.5-3.8</td><td>GCC 7.3.1</td><td>Bazel 2.0.0</td></tr>
@@ -442,6 +443,7 @@ Success: TensorFlow is now installed.
442443

443444
<table>
444445
<tr><th>Version</th><th>Python version</th><th>Compiler</th><th>Build tools</th><th>cuDNN</th><th>CUDA</th></tr>
446+
<tr><td>tensorflow-2.5.0</td><td>3.6-3.9</td><td>GCC 7.3.1</td><td>Bazel 3.1.0</td><td>8.0</td><td>11.0</td></tr>
445447
<tr><td>tensorflow-2.4.0</td><td>3.6-3.8</td><td>GCC 7.3.1</td><td>Bazel 3.1.0</td><td>8.0</td><td>11.0</td></tr>
446448
<tr><td>tensorflow-2.3.0</td><td>3.5-3.8</td><td>GCC 7.3.1</td><td>Bazel 3.1.0</td><td>7.6</td><td>10.1</td></tr>
447449
<tr><td>tensorflow-2.2.0</td><td>3.5-3.8</td><td>GCC 7.3.1</td><td>Bazel 2.0.0</td><td>7.6</td><td>10.1</td></tr>
@@ -471,6 +473,7 @@ Success: TensorFlow is now installed.
471473

472474
<table>
473475
<tr><th>Version</th><th>Python version</th><th>Compiler</th><th>Build tools</th></tr>
476+
<tr><td>tensorflow-2.5.0</td><td>3.6-3.9</td><td>Clang from xcode 10.11</td><td>Bazel 3.1.0</td></tr>
474477
<tr><td>tensorflow-2.4.0</td><td>3.6-3.8</td><td>Clang from xcode 10.3</td><td>Bazel 3.1.0</td></tr>
475478
<tr><td>tensorflow-2.3.0</td><td>3.5-3.8</td><td>Clang from xcode 10.1</td><td>Bazel 3.1.0</td></tr>
476479
<tr><td>tensorflow-2.2.0</td><td>3.5-3.8</td><td>Clang from xcode 10.1</td><td>Bazel 2.0.0</td></tr>

site/en/install/source_windows.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ For GPU support, add the CUDA and cuDNN bin directories to your `$PATH`:
283283

284284
<table>
285285
<tr><th>Version</th><th>Python version</th><th>Compiler</th><th>Build tools</th></tr>
286+
<tr><td>tensorflow-2.5.0</td><td>3.6-3.9</td><td>MSVC 2019</td><td>Bazel 3.1.0</td></tr>
286287
<tr><td>tensorflow-2.4.0</td><td>3.6-3.8</td><td>MSVC 2019</td><td>Bazel 3.1.0</td></tr>
287288
<tr><td>tensorflow-2.3.0</td><td>3.5-3.8</td><td>MSVC 2019</td><td>Bazel 3.1.0</td></tr>
288289
<tr><td>tensorflow-2.2.0</td><td>3.5-3.8</td><td>MSVC 2019</td><td>Bazel 2.0.0</td></tr>
@@ -310,6 +311,7 @@ For GPU support, add the CUDA and cuDNN bin directories to your `$PATH`:
310311

311312
<table>
312313
<tr><th>Version</th><th>Python version</th><th>Compiler</th><th>Build tools</th><th>cuDNN</th><th>CUDA</th></tr>
314+
<tr><td>tensorflow_gpu-2.5.0</td><td>3.6-3.9</td><td>MSVC 2019</td><td>Bazel 3.1.0</td><td>8.0</td><td>11.0</td></tr>
313315
<tr><td>tensorflow_gpu-2.4.0</td><td>3.6-3.8</td><td>MSVC 2019</td><td>Bazel 3.1.0</td><td>8.0</td><td>11.0</td></tr>
314316
<tr><td>tensorflow_gpu-2.3.0</td><td>3.5-3.8</td><td>MSVC 2019</td><td>Bazel 3.1.0</td><td>7.6</td><td>10.1</td></tr>
315317
<tr><td>tensorflow_gpu-2.2.0</td><td>3.5-3.8</td><td>MSVC 2019</td><td>Bazel 2.0.0</td><td>7.6</td><td>10.1</td></tr>

0 commit comments

Comments
 (0)