This is the contribution guide for NNFusion project on Github.
Read Build Guide to know how to build your code in your dev machine.
Read Coding Guide to know how to modify source code.
If you are a member of NNFusion team, you can
- Create a branch in the repo
- Commit your code
- Run maint/script/apply_code_style.sh
- Run maint/script/test.sh
- Submit the PR with you update;
And if your are not, you can also do
- Fork the NNFusion repo
- Create your branch in your forked repo
- Commit your code
- Run maint/script/apply_code_style.sh
- Run maint/script/test.sh
- Submit your PR with the branch in your repo
- Due to security reasons, your PR will not be checked automatically, thus you need to notify or wait a project member to comment "/AzurePipelines run" on your pull request
Here is an example to illustrate what the PR should looks like: PR#10.
- At least ONE NNFusion team member exclude the committer approves the PR
- The source code requires test cases to cover the changed part
- The source code must have no license issue
- The source code must pass all checks
If all rules are followed, the NNFusion team member would help you to merge your pull request.