NNPack 使用教程

来源:互联网 发布:剑桥中国史 知乎 编辑:程序博客网 时间:2024/05/29 09:32

NNPACK 编译 (Linux OS)

前提:

(1)安装libffi-dev

(2)安装libpython2.7-dev

(3)安装libgit2   http://www.pygit2.org/install.html

(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/PeachPypip install --upgrade git+https://github.com/Maratyszcza/confu


3、下载编译NNPACK

git clone https://github.com/Maratyszcza/NNPACK.git  cd NNPACK confu setuppython ./configure.py  ninja 











0 0
原创粉丝点击