Skip to content

Commit 9f21916

Browse files
authored
Merge pull request #569 from jspisak/patch-4
Update PyTorch Cheat.md
2 parents a4a2fbb + 81520da commit 9f21916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beginner_source/PyTorch Cheat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ from torch.jit import script, trace # hybrid frontend decorator and tracin
2626
```
2727
See [autograd](https://pytorch.org/docs/stable/autograd.html), [nn](https://pytorch.org/docs/stable/nn.html), [functional](https://pytorch.org/docs/stable/nn.html#torch-nn-functional) and [optim](https://pytorch.org/docs/stable/optim.html)
2828

29-
### Hybrid frontend
29+
### Torchscript and JIT
3030

3131
```
3232
torch.jit.trace() # takes your module or function and an example data input, and traces the computational steps that the data encounters as it progresses through the model
3333
@script # decorator used to indicate data-dependent control flow within the code being traced
3434
```
35-
See [hybrid frontend](https://pytorch.org/docs/stable/hybridfrontend)
35+
See [Torchscript](https://pytorch.org/docs/stable/jit.html)
3636

3737
### ONNX
3838

0 commit comments

Comments
 (0)