mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[while_loop] expose it as torch.while_loop (#128562)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/128562 Approved by: https://github.com/zou3519
This commit is contained in:
committed by
PyTorch MergeBot
parent
c486e2ab64
commit
afdaa7fc95
@ -2358,7 +2358,7 @@ def compile(
|
||||
|
||||
from torch import export as export
|
||||
|
||||
from torch._higher_order_ops import cond as cond
|
||||
from torch._higher_order_ops import cond, while_loop
|
||||
|
||||
|
||||
def _register_device_module(device_type, module):
|
||||
|
Reference in New Issue
Block a user