Source code for torch.backends.openmp
import torch
[docs]def is_available():
r"""Return whether PyTorch is built with OpenMP support."""
return torch._C.has_openmp
import torch
[docs]def is_available():
r"""Return whether PyTorch is built with OpenMP support."""
return torch._C.has_openmp