mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
fix typo in torch.compiler_dynamo_deepdive.rst
(#140871)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/140871 Approved by: https://github.com/zou3519
This commit is contained in:
committed by
PyTorch MergeBot
parent
260d1dcef4
commit
93aef684d9
@ -341,7 +341,7 @@ All the inputs and intermediary elements of the FX graph are
|
||||
``fx.Node``\ s. In Dynamo, ``fx.Node``\ s are wrapped in
|
||||
``fx.Proxy``\ s. ``fx.Proxy``\ s are used to build the FX graph.
|
||||
In particular, they record every PyTorch operation performed on them
|
||||
into the graph. You can can create a new operation to be added to
|
||||
into the graph. You can create a new operation to be added to
|
||||
the graph by calling `create_proxy <https://github.com/pytorch/pytorch/blob/fb80f05ee2e1cba17892980701bfd5dbce58349f/torch/_dynamo/output_graph.py#L430-L431>`__.
|
||||
Then, we can add it to the graph through the function
|
||||
`wrap_fx_proxy <https://github.com/pytorch/pytorch/blob/fb80f05ee2e1cba17892980701bfd5dbce58349f/torch/_dynamo/variables/builder.py#L1311>`__.
|
||||
|
Reference in New Issue
Block a user