We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433e3c7 commit ae2ba11Copy full SHA for ae2ba11
docs/_tutorials/pytorch-profiler.md
@@ -49,7 +49,7 @@ The `record_function` context manager can be used to label arbitrary code ranges
49
50
```python
51
with profile(record_shapes=True) as prof: # record_shapes indicates whether to record shapes of the operator inputs.
52
- with record_function("""):"
+ with record_function("model_forward"):
53
model_engine(inputs)
54
```
55
0 commit comments