mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
move functionalize out of experimental namespace (#85742)
Did a very quick sanity check - it looks like functorch docs don't get the nice preview link that pytofch-bot gives for normal pytorch docs, so I built locally and scanned `html/generated/functorch.functionalize.html` Pull Request resolved: https://github.com/pytorch/pytorch/pull/85742 Approved by: https://github.com/zou3519
This commit is contained in:
committed by
PyTorch MergeBot
parent
796da4df4d
commit
913f5784d7
@ -15,7 +15,7 @@ from . import _C
|
||||
# functorch transforms
|
||||
from ._src.vmap import vmap
|
||||
from ._src.eager_transforms import (
|
||||
grad, grad_and_value, vjp, jacrev, jvp, jacfwd, hessian,
|
||||
grad, grad_and_value, vjp, jacrev, jvp, jacfwd, hessian, functionalize
|
||||
)
|
||||
from ._src.python_key import make_fx
|
||||
|
||||
|
@ -8,5 +8,3 @@ Experimental Function Transforms
|
||||
.. autosummary::
|
||||
:toctree: generated
|
||||
:nosignatures:
|
||||
|
||||
functionalize
|
||||
|
@ -17,6 +17,7 @@ Function Transforms
|
||||
jacrev
|
||||
jacfwd
|
||||
hessian
|
||||
functionalize
|
||||
|
||||
Utilities for working with torch.nn.Modules
|
||||
-------------------------------------------
|
||||
|
@ -1,4 +1,5 @@
|
||||
from .batch_norm_replacement import replace_all_batch_norm_modules_
|
||||
# PyTorch forward-mode is not mature yet
|
||||
from .._src.eager_transforms import jvp, jacfwd, hessian, functionalize
|
||||
from .._src.eager_transforms import jvp, jacfwd, hessian
|
||||
from .._src.vmap import chunk_vmap
|
||||
from functorch import functionalize
|
||||
|
Reference in New Issue
Block a user