Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_tutorials/pytorch-profiler.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The `record_function` context manager can be used to label arbitrary code ranges

```python
with profile(record_shapes=True) as prof: # record_shapes indicates whether to record shapes of the operator inputs.
with record_function("""):"
with record_function("model_forward"):
model_engine(inputs)
```

Expand Down