Skip to content

Commit 17f36f1

Browse files
authored
[doc] typo fix and clarification (deepspeedai#563)
This PR: * fixes a misspelled method name * also `( () )` doesn't read too well, until one reads the code and understands that it's not a formatting bug. I proposed to simply say that it's a callable object.
1 parent c51fa65 commit 17f36f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_tutorials/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ model_engine, optimizer, _, _ = deepspeed.initialize(args=cmd_args,
2828
distributed data parallel or mixed precision training are done
2929
appropriately under the hood. In addition to wrapping the model, DeepSpeed can
3030
construct and manage the training optimizer, data loader, and the learning rate
31-
scheduler based on the parameters passed to `deepspeed.initialze` and the
31+
scheduler based on the parameters passed to `deepspeed.initialize` and the
3232
DeepSpeed [configuration file](#deepspeed-configuration).
3333

3434

3535
### Training
3636

3737
Once the DeepSpeed engine has been initialized, it can be used to train the
38-
model using three simple APIs for forward propagation (`()`), backward
38+
model using three simple APIs for forward propagation (callable object), backward
3939
propagation (`backward`), and weight updates (`step`).
4040

4141
```python

0 commit comments

Comments
 (0)