9dd3461
1
2
3
4
5
6
7
import torch def is_available(): r"""Returns whether PyTorch is built with OpenMP support.""" return torch._C.has_openmp