mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[ez] fix small doc error (#164915)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/164915 Approved by: https://github.com/svekars
This commit is contained in:
committed by
PyTorch MergeBot
parent
5c827a4133
commit
91b9484264
@ -189,7 +189,7 @@ Here is a quick example:
|
||||
```{code-cell}
|
||||
import torch
|
||||
|
||||
@torch.compile(dynamic=True)
|
||||
@torch.compile
|
||||
def f(x):
|
||||
return x * x.size()[0]
|
||||
|
||||
|
Reference in New Issue
Block a user