TensorFly is an open source project (for SJTU PPCA 2019 ML-system). Its API is almost the same as TensorFlow (r1.14 stable), but many methods are not implemented.
Testcases are here.
-
Download numpy.
-
Download Intel Math Kernel Library. You can follow the instructions here.
-
To compile
core.c
:gcc -o tensorfly/core.so -shared -fPIC -fopenmp tensorfly/core.c -lmkl_rt -O4 -funroll-loops
-
Run test:
python3 run_test.py tensorfly