Skip to content

Instantly share code, notes, and snippets.

View sebastian-schmidt's full-sized avatar

sebastian-schmidt

View GitHub Profile
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'