| # mypy: allow-untyped-defs | |
| import torch | |
| def is_available(): | |
| r"""Return whether PyTorch is built with OpenMP support.""" | |
| return torch._C.has_openmp | |
| # mypy: allow-untyped-defs | |
| import torch | |
| def is_available(): | |
| r"""Return whether PyTorch is built with OpenMP support.""" | |
| return torch._C.has_openmp | |