Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

neilisaac / torch   python

Repository URL to install this package:

/ backends / openmp / __init__.py

import torch


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