Code Modification
Code Modification:
To modify the code, please follow these steps:
- Submit a merge request to the develop branch.
- For major changes, please discuss them in an issue beforehand.
To ensure the stability of the server, we have certain requirements for C++:
- All code must be exception-safe.
- Manual program exits are not allowed; exceptions should be thrown instead.
For complex modifications, please consider testing:
- Prepare the runtime environment by referring to Torchpipe installation.
- Run existing tests:
cd test
pip install -r requirements.txt
pytest .
If necessary, please consider supplementing with Python tests.
Code Formatting (optional)
Please configure a formatting plugin to enable .clang-format.