This file contains hidden or 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
// | |
// Created by alex on 18/01/16. | |
// | |
// Compiled with | |
// MKL_NUM_THREADS=4 OMP_NUM_THREADS=4 g++ -O3 -std=c++11 \ | |
// -I/opt/eigen -I/opt/intel/mkl/include -Wall -L/opt/intel/mkl/lib/intel64 \ | |
// -Werror=return-type -Wno-unused-variable -Wno-narrowing -Wl,--no-as-needed \ | |
// -m64 -fopenmp -lmkl_rt -lpthread -lcurl -lm eigen.cpp | |
#define EIGEN_USE_MKL_ALL | |
#include "Eigen/Core" |
This file contains hidden or 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
from __future__ import print_function | |
import numpy as np | |
import os | |
import gzip | |
import sys | |
import time | |
from collections import OrderedDict | |
floatX = "float32" | |
NewerOlder