forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[HigherOrderOp] Move _map.py to _higher_order_ops (pytorch#111152)
Differential Revision: [D50332159](https://our.internmc.facebook.com/intern/diff/D50332159) Pull Request resolved: pytorch#111152 Approved by: https://github.com/zou3519
- Loading branch information
1 parent
1364f84
commit 6703111
Showing
4 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
from torch import cond # noqa: F401 | ||
from torch._higher_order_ops.cond import UnsupportedAliasMutationException # noqa: F401 | ||
|
||
from ._map import map # noqa: F401 | ||
from torch._higher_order_ops.map import ( # noqa: F401 | ||
_stack_pytree, | ||
_unstack_pytree, | ||
map, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters