Download .venv/Lib/site-packages/functorch/experimental/control_flow.py from DrDavis/PythonProject1: direct link, hf CLI and curl.
- Browser
- Download file 240 Bytes
-
https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/functorch/experimental/control_flow.py
- Command line
-
hf download hf://DrDavis/PythonProject1/.venv/Lib/site-packages/functorch/experimental/control_flow.py
-
curl -L -o control_flow.py https://huggingface.co/DrDavis/PythonProject1/resolve/main/.venv/Lib/site-packages/functorch/experimental/control_flow.py
240 Bytes
| from torch import cond # noqa: F401 | |
| from torch._higher_order_ops.cond import UnsupportedAliasMutationException # noqa: F401 | |
| from torch._higher_order_ops.map import ( # noqa: F401 | |
| _stack_pytree, | |
| _unstack_pytree, | |
| map, | |
| ) | |