This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
def _init_numpy_mkl(): | |
# Numpy+MKL on Windows only | |
import os | |
import ctypes | |
if os.name != 'nt': | |
return | |
# disable Intel Fortran default console event handler | |
env = 'FOR_DISABLE_CONSOLE_CTRL_HANDLER' |