API

 _modules/torch.backends.openmp


Source code for torch.backends.openmp

import torch


[docs]def is_available(): r"""Returns whether PyTorch is built with OpenMP support.""" return torch._C.has_openmp

此页内容是否对您有帮助