-
Fork this repo to your github account
-
Clone your fork
-
Create a feature branch
-
Make changes, including but not limited to create new model, bug fix, documentation, tutorials, etc.
-
Pre-commit check and push, we use clang-format to do coding style checking, and the coding style is following google c++ coding style with 4-space.
pip install pre-commit
pip install clang-format
cd tensorrtx/
git add [files-to-commit]
pre-commit run
# fix pre-commit errors, then git add files-to-commit again
git add [files-to-commit]
git commit -m "describe your commit"
git push origin [feature-branch]
- Submit a pull-request on github web UI to master branch of wang-xinyu/tensorrtx.