NNPACK 编译 (Linux OS)
前提:
(1)安装libffi-dev
(2)安装libpython2.7-dev
(4)安装python-pycurl libcurl4-openssl-dev
(5)安装python-libssh2 libssh2-1-dev
(6)apt-get install python-yaml
1、安装ninja system
apt-get install ninja-build
apt-get install ninja
pip install ninja-syntax
2、编译安装 PeachPy
pip install --upgrade git+https://github.com/Maratyszcza/PeachPy
pip install --upgrade git+https://github.com/Maratyszcza/confu
3、下载编译NNPACK
git clone https://github.com/Maratyszcza/NNPACK.git
cd NNPACK
confu setup
python ./configure.py
ninja