File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -240,9 +240,9 @@ This better runtime comes with a drawback: tensors created in inference mode
240
240
will not be able to be used in computations to be recorded by autograd after
241
241
exiting inference mode.
242
242
243
- Enable inference mode when you are performing computations that don’t need
244
- to be recorded in the backward graph , AND you don’t plan on using the tensors
245
- created in inference mode in any computation that is to be recorded by autograd later.
243
+ Enable inference mode when you are performing computations that do not have
244
+ interactions with autograd , AND you don’t plan on using the tensors created
245
+ in inference mode in any computation that is to be recorded by autograd later.
246
246
247
247
It is recommended that you try out inference mode in the parts of your code
248
248
that do not require autograd tracking (e.g., data processing and model evaluation).
You can’t perform that action at this time.
0 commit comments