Skip to content

Commit e98a2be

Browse files
authored
Point links at stable version of NumPy docs
1 parent babc33c commit e98a2be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/en/guide/tf_numpy.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"source": [
7171
"## Overview\n",
7272
"\n",
73-
"TensorFlow implements a subset of the [NumPy API](https://numpy.org/doc/1.16), available as `tf.experimental.numpy`. This allows running NumPy code, accelerated by TensorFlow, while also allowing access to all of TensorFlow's APIs."
73+
"TensorFlow implements a subset of the [NumPy API](https://numpy.org/doc/stable), available as `tf.experimental.numpy`. This allows running NumPy code, accelerated by TensorFlow, while also allowing access to all of TensorFlow's APIs."
7474
]
7575
},
7676
{
@@ -155,7 +155,7 @@
155155
"source": [
156156
"### Type promotion\n",
157157
"\n",
158-
"TensorFlow NumPy APIs have well-defined semantics for converting literals to ND array, as well as for performing type promotion on ND array inputs. Please see [`np.result_type`](https://numpy.org/doc/1.16/reference/generated/numpy.result_type.html) for more details. When converting literals to ND array, NumPy prefers wide types like `tnp.int64` and `tnp.float64`.\n",
158+
"TensorFlow NumPy APIs have well-defined semantics for converting literals to ND array, as well as for performing type promotion on ND array inputs. Please see [`np.result_type`](https://numpy.org/doc/stable/reference/generated/numpy.result_type.html) for more details. When converting literals to ND array, NumPy prefers wide types like `tnp.int64` and `tnp.float64`.\n",
159159
"\n",
160160
"In contrast, `tf.convert_to_tensor` prefers `tf.int32` and `tf.float32` types for converting constants to `tf.Tensor`. TensorFlow APIs leave `tf.Tensor` inputs unchanged and do not perform type promotion on them.\n",
161161
"\n",
@@ -192,7 +192,7 @@
192192
"### Broadcasting\n",
193193
"\n",
194194
"Similar to TensorFlow, NumPy defines rich semantics for \"broadcasting\" values.\n",
195-
"You can check out the [NumPy broadcasting guide](https://numpy.org/doc/1.16/user/basics.broadcasting.html) for more information and compare this with [TensorFlow broadcasting semantics](https://www.tensorflow.org/guide/tensor#broadcasting)."
195+
"You can check out the [NumPy broadcasting guide](https://numpy.org/doc/stable/user/basics.broadcasting.html) for more information and compare this with [TensorFlow broadcasting semantics](https://www.tensorflow.org/guide/tensor#broadcasting)."
196196
]
197197
},
198198
{
@@ -218,7 +218,7 @@
218218
"source": [
219219
"### Indexing\n",
220220
"\n",
221-
"NumPy defines very sophisticated indexing rules. See the [NumPy Indexing guide](https://numpy.org/doc/1.16/reference/arrays.indexing.html). Note the use of ND arrays as indices below."
221+
"NumPy defines very sophisticated indexing rules. See the [NumPy Indexing guide](https://numpy.org/doc/stable/reference/arrays.indexing.html). Note the use of ND arrays as indices below."
222222
]
223223
},
224224
{

0 commit comments

Comments
 (0)