You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.1 kB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Ascend CANN Parser
  2. Ascend CANN Parser(简称parser)配合TF_Adapter、 ATC工具、IR构图等使用,开发者通过以上工具,借助parser能方便地将第三方框架的算法表示转换成Ascend IR,充分利用昇腾AI处理器卓越的运算能力。
  3. ![parser系统框架](https://images.gitee.com/uploads/images/2020/1015/151426_71a73e7e_7876749.png "parser系统框架.PNG")
  4. ## 安装
  5. parser以动态库的方式被调用。
  6. ### 源码安装
  7. parser支持源码编译,进行源码编译前,首先确保你有昇腾910AI处理器的环境,同时确保系统满足以下要求:
  8. - GCC >= 7.3.0
  9. - CMake >= 3.14.0
  10. - Autoconf >= 2.64
  11. - Libtool >= 2.4.6
  12. - Automake >= 1.15.1
  13. #### 下载源码
  14. ```
  15. git clone --recursive
  16. https://gitee.com/ascend/parser.git -b development
  17. cd parser
  18. chmod +x build.sh
  19. ```
  20. #### 源码编译
  21. 在parser根目录执行以下命令编译:
  22. ```
  23. bash build.sh
  24. 编译完成之后,相应的动态库文件会生成在output文件夹中
  25. ```
  26. ## 贡献
  27. 欢迎参与贡献。
  28. ## Release Notes
  29. Release Notes请参考[RELEASE](RELEASE.md)。
  30. ## 许可证
  31. [Apache License 2.0](LICENSE)