mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Fix doc (#135551)
Differential Revision: [D62412667](https://our.internmc.facebook.com/intern/diff/D62412667/) Pull Request resolved: https://github.com/pytorch/pytorch/pull/135551 Approved by: https://github.com/yushangdi ghstack dependencies: #135549
This commit is contained in:
committed by
PyTorch MergeBot
parent
1adf28a5c0
commit
5a9ac83e94
@ -175,8 +175,7 @@ def export(
|
||||
preserve_module_call_signature: Tuple[str, ...] = (),
|
||||
) -> ExportedProgram:
|
||||
"""
|
||||
:func:`export` takes an arbitrary Python callable (an nn.Module, a function or
|
||||
a method) along with example inputs, and produces a traced graph representing
|
||||
:func:`export` takes any nn.Module along with example inputs, and produces a traced graph representing
|
||||
only the Tensor computation of the function in an Ahead-of-Time (AOT) fashion,
|
||||
which can subsequently be executed with different inputs or serialized. The
|
||||
traced graph (1) produces normalized operators in the functional ATen operator set
|
||||
|
Reference in New Issue
Block a user