fix small typo (#7399)

"We use with Tensor.train() set the internal flag" -> "We use with Tensor.train() *to* set the internal flag"
This commit is contained in:
vinzentbeer
2024-10-30 12:20:28 +01:00
committed by GitHub
parent d39f21da8f
commit 573a848229

View File

@@ -165,7 +165,7 @@ from extra.datasets import fetch_mnist
Now we have everything we need to start training our neural network.
We will be training for 1000 steps with a batch size of 64.
We use `with Tensor.train()` set the internal flag `Tensor.training` to `True` during training.
We use `with Tensor.train()` to set the internal flag `Tensor.training` to `True` during training.
Upon exit, the flag is restored to its previous value by the context manager.
```python