Skip to content

Commit 9f36543

Browse files
Wei Weicopybara-github
authored andcommitted
Fix typos in DTensor tutorial
PiperOrigin-RevId: 483615556
1 parent 9d2f54b commit 9f36543

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/en/guide/dtensor_overview.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"id": "DgciDNmK76l9"
293293
},
294294
"source": [
295-
"Given a 2-dimensional 3x2 mesh such as `[(\"x\", 3), (\"y\", 2)]`, (`mesh_2d` from the previous section), `Layout([\"y\", \"x\"], mesh_2d)` is a layout for a rank-2 `Tensor` whose first axis is sharded across across mesh dimension `\"y\"`, and whose second axis is sharded across mesh dimension `\"x\"`."
295+
"Given a 2-dimensional 3x2 mesh such as `[(\"x\", 3), (\"y\", 2)]`, (`mesh_2d` from the previous section), `Layout([\"y\", \"x\"], mesh_2d)` is a layout for a rank-2 `Tensor` whose first axis is sharded across mesh dimension `\"y\"`, and whose second axis is sharded across mesh dimension `\"x\"`."
296296
]
297297
},
298298
{
@@ -843,7 +843,7 @@
843843
"\n",
844844
" - `tf.ones`, `tf.zeros`, `tf.random.stateless_normal`,\n",
845845
"\n",
846-
"For these Python functions, DTensor provides `dtensor.call_with_layout` which eagelry executes a Python function with DTensor, and ensures that the returned Tensor is a DTensor with the requested `Layout`."
846+
"For these Python functions, DTensor provides `dtensor.call_with_layout` which eagerly executes a Python function with DTensor, and ensures that the returned Tensor is a DTensor with the requested `Layout`."
847847
]
848848
},
849849
{

0 commit comments

Comments
 (0)