Skip to content

Commit ca5f3c7

Browse files
authored
Merge branch 'master' into patch-5
2 parents d80c1de + 9aa0832 commit ca5f3c7

Some content is hidden

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

55 files changed

+549
-420
lines changed

OWNERS_METADATA

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

site/en/README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# TensorFlow docs
2+
3+
These are the source files for the core TensorFlow
4+
[guide](https://www.tensorflow.org/guide),
5+
[tutorials](https://www.tensorflow.org/tutorials), and other technical docs.
6+
Please read the
7+
[contributor guide](https://www.tensorflow.org/community/contribute)
8+
to submit patches to the TensorFlow documentation and code.
9+
10+
## TensorFlow ecosystem projects
11+
12+
In addition to the core TensorFlow docs,
13+
[tensorflow.org](https://www.tensorflow.org) hosts documentation for many
14+
[libraries and extensions](https://www.tensorflow.org/resources/libraries-extensions).
15+
These docs are sourced from separate project repos and where pull requests can
16+
be sent. The following is a list of TensorFlow documentation projects published
17+
on the website and a link to their source files:
18+
19+
tensorflow.org project | GitHub docs location
20+
-----------------------|---------------------
21+
[/addons](https://www.tensorflow.org/addons) | https://github.com/tensorflow/addons/tree/master/docs
22+
[/agents](https://www.tensorflow.org/agents) | https://github.com/tensorflow/agents/tree/master/docs
23+
[/cloud](https://www.tensorflow.org/cloud) | https://github.com/tensorflow/cloud/tree/master/g3doc
24+
[/datasets](https://www.tensorflow.org/datasets) | https://github.com/tensorflow/datasets/tree/master/docs
25+
[/decision_forests](https://www.tensorflow.org/decision_forests) | https://github.com/tensorflow/decision-forests/tree/main/documentation
26+
[/federated](https://www.tensorflow.org/federated) | https://github.com/tensorflow/federated/tree/main/docs
27+
[/graphics](https://www.tensorflow.org/graphics) | https://github.com/tensorflow/graphics/tree/master/tensorflow_graphics/g3doc
28+
[/hub](https://www.tensorflow.org/hub) | https://github.com/tensorflow/hub/tree/master/docs
29+
[/io](https://www.tensorflow.org/io) | https://github.com/tensorflow/io/tree/master/docs/
30+
[/js](https://www.tensorflow.org/js) | https://github.com/tensorflow/tfjs-website/tree/master/docs
31+
[/jvm](https://www.tensorflow.org/jvm) | https://github.com/tensorflow/java/tree/master/docs
32+
[/lattice](https://www.tensorflow.org/lattice) | https://github.com/tensorflow/lattice/tree/master/docs
33+
[/lite](https://www.tensorflow.org/lite) | https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/g3doc
34+
[/mlir](https://www.tensorflow.org/mlir) | https://github.com/tensorflow/tensorflow/tree/master/tensorflow/compiler/mlir/g3doc
35+
[/model_optimization](https://www.tensorflow.org/model_optimization) | https://github.com/tensorflow/model-optimization/tree/master/tensorflow_model_optimization/g3doc
36+
[/neural_structured_learning](https://www.tensorflow.org/neural_structured_learning) | https://github.com/tensorflow/neural-structured-learning/tree/master/g3doc
37+
[/probability](https://www.tensorflow.org/probability) | https://github.com/tensorflow/probability/tree/main/tensorflow_probability/g3doc
38+
[/quantum](https://www.tensorflow.org/quantum) | https://github.com/tensorflow/quantum/tree/master/docs
39+
[/ranking](https://www.tensorflow.org/ranking) | https://github.com/tensorflow/ranking/tree/master/docs
40+
[/recommenders](https://www.tensorflow.org/recommenders) | https://github.com/tensorflow/recommenders/tree/main/docs
41+
[/responsible_ai/fairness_indicators](https://www.tensorflow.org/responsible_ai/fairness_indicators/guide) | https://github.com/tensorflow/fairness-indicators/tree/master/g3doc
42+
[/responsible_ai/model_card_toolkit](https://www.tensorflow.org/responsible_ai/model_card_toolkit/guide) | https://github.com/tensorflow/model-card-toolkit/tree/master/model_card_toolkit/documentation
43+
[/responsible_ai/model_remediation](https://www.tensorflow.org/responsible_ai/model_remediation) | https://github.com/tensorflow/model-remediation/tree/master/docs
44+
[/responsible_ai/privacy](https://www.tensorflow.org/responsible_ai/privacy/guide) | https://github.com/tensorflow/privacy/tree/master/g3doc
45+
[/tensorboard](https://www.tensorflow.org/tensorboard) | https://github.com/tensorflow/tensorboard/tree/master/docs
46+
[/guide/keras](https://www.tensorflow.org/guide/keras/) | https://github.com/keras-team/keras-io/tree/master/guides
47+
[/text](https://www.tensorflow.org/text) | https://github.com/tensorflow/text/tree/master/docs
48+
[/tfx](https://www.tensorflow.org/tfx) | https://github.com/tensorflow/tfx/tree/master/docs
49+
[/tfx/guide/serving](https://www.tensorflow.org/tfx/guide/serving) | https://github.com/tensorflow/serving/tree/master/tensorflow_serving/g3doc
50+
[/xla](https://www.tensorflow.org/xla) | https://github.com/tensorflow/tensorflow/tree/master/tensorflow/compiler/xla/g3doc

site/en/addons/README.md

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

site/en/agents/README.md

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

site/en/datasets/README.md

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

site/en/federated/README.md

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

site/en/graphics/README.md

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

site/en/guide/basic_training_loops.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"source": [
7171
"In the previous guides, you have learned about [tensors](./tensor.ipynb), [variables](./variable.ipynb), [gradient tape](autodiff.ipynb), and [modules](./intro_to_modules.ipynb). In this guide, you will fit these all together to train models.\n",
7272
"\n",
73-
"TensorFlow also includes the [tf.Keras API](keras/overview.ipynb), a high-level neural network API that provides useful abstractions to reduce boilerplate. However, in this guide, you will use basic classes."
73+
"TensorFlow also includes the [tf.Keras API](https://www.tensorflow.org/guide/keras/overview), a high-level neural network API that provides useful abstractions to reduce boilerplate. However, in this guide, you will use basic classes."
7474
]
7575
},
7676
{
@@ -523,7 +523,7 @@
523523
"\n",
524524
"This is, however, an extremely simple problem. For a more practical introduction, see [Custom training walkthrough](../tutorials/customization/custom_training_walkthrough.ipynb).\n",
525525
"\n",
526-
"For more on using built-in Keras training loops, see [this guide](keras/train_and_evaluate.ipynb). For more on training loops and Keras, see [this guide](keras/writing_a_training_loop_from_scratch.ipynb). For writing custom distributed training loops, see [this guide](distributed_training.ipynb#using_tfdistributestrategy_with_basic_training_loops_loops)."
526+
"For more on using built-in Keras training loops, see [this guide](https://www.tensorflow.org/guide/keras/train_and_evaluate). For more on training loops and Keras, see [this guide](https://www.tensorflow.org/guide/keras/writing_a_training_loop_from_scratch). For writing custom distributed training loops, see [this guide](distributed_training.ipynb#using_tfdistributestrategy_with_basic_training_loops_loops)."
527527
]
528528
}
529529
],

site/en/guide/distributed_training.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"* Provide good performance out of the box.\n",
7979
"* Easy switching between strategies.\n",
8080
"\n",
81-
"You can distribute training using `tf.distribute.Strategy` with a high-level API like Keras `Model.fit`, as well as [custom training loops](keras/writing_a_training_loop_from_scratch.ipynb) (and, in general, any computation using TensorFlow).\n",
81+
"You can distribute training using `tf.distribute.Strategy` with a high-level API like Keras `Model.fit`, as well as [custom training loops](https://www.tensorflow.org/guide/keras/writing_a_training_loop_from_scratch) (and, in general, any computation using TensorFlow).\n",
8282
"\n",
8383
"In TensorFlow 2.x, you can execute your programs eagerly, or in a graph using [`tf.function`](function.ipynb). `tf.distribute.Strategy` intends to support both these modes of execution, but works best with `tf.function`. Eager mode is only recommended for debugging purposes and not supported for `tf.distribute.TPUStrategy`. Although training is the focus of this guide, this API can also be used for distributing evaluation and prediction on different platforms.\n",
8484
"\n",

site/en/guide/extension_type.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@
17831783
" shape = property(lambda self: self.values.shape)\n",
17841784
" dtype = property(lambda self: self.values.dtype)\n",
17851785
"\n",
1786-
" def with_shape(self): # TODO(edloper): Show where this is useful?\n",
1786+
" def with_shape(self):\n",
17871787
" return MaskedTensor.Spec(tf.TensorSpec(shape, self.values.dtype),\n",
17881788
" tf.TensorSpec(shape, self.mask.dtype))"
17891789
]

0 commit comments

Comments
 (0)