DEBSOURCES
Skip Quicknav
sources / pytorch / 1.7.1-7 / torch / backends / mkl / __init__.py
123456
import torch def is_available(): r"""Returns whether PyTorch is built with MKL support.""" return torch._C.has_mkl