|
|
|
@@ -0,0 +1,50 @@ |
|
|
|
# Ascend CANN Parser
|
|
|
|
|
|
|
|
Ascend CANN Parser (Parser for short) works with the TF_Adapter, ATC, and IR graph composition tools. By using these tools, developers can easily convert the algorithm representation of third-party frameworks into Ascend IRs, making full use of the excellent computing capability of Ascend AI Processors.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
Parser is invoked as a dynamic library.
|
|
|
|
|
|
|
|
### Installing Using Source Code
|
|
|
|
|
|
|
|
Parser supports source code compilation. Before source code compilation, ensure that the Ascend 910 AI Processors are available and the system meets the following requirements:
|
|
|
|
|
|
|
|
- GCC >= 7.3.0
|
|
|
|
- CMake >= 3.14.0
|
|
|
|
- Autoconf >= 2.64
|
|
|
|
- Libtool >= 2.4.6
|
|
|
|
- Automake >= 1.15.1
|
|
|
|
|
|
|
|
#### Downloading Source Code
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone --recursive
|
|
|
|
https://gitee.com/ascend/parser.git -b development
|
|
|
|
cd parser
|
|
|
|
chmod +x build.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Compiling Source Code
|
|
|
|
|
|
|
|
Run the following command in the root directory of Parser:
|
|
|
|
|
|
|
|
```
|
|
|
|
bash build.sh
|
|
|
|
|
|
|
|
After the compilation is complete, the corresponding dynamic library file is generated in the output folder.
|
|
|
|
```
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
Make your contribution.
|
|
|
|
|
|
|
|
## Release Notes
|
|
|
|
|
|
|
|
For details about the release notes, see [RELEASE](RELEASE.md).
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Apache License 2.0 |