Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.71 KB

contribution-guide.md

File metadata and controls

42 lines (30 loc) · 1.71 KB

Contribution Guide

Welcome and thank you for reaching this contribution guide. Materials are split into sections, just jump to topics you are interested in.

Reporting Issues

  • If something seems wrong to you, report bugs.
  • If some operators are not supported yet, you may request a new operator.
  • Feel free to open any other related discussions.

It's high recommended to attach a narrow down-ed TFLite model and debug logs (generate it with tflite2onnx.enableDebugLog()).

Contributing Code

We work on enabling operators most of the time. In this way, there is a dedicated step-by-step guide to help you enable new operators.

Please help to upstream your operator enabling. Unus pro omnibus, omnes pro uno.

We have GitHub Actions based CI for pull requests. I know sometimes it's annoying but it's very important as it help us to protect the code. In this way we can keep the quality and save time of debugging.

In general we need:

  • Dedicated test of the new operator.
    • It would be great if we can have models to test different attributes.
    • pytest at root directory to run all test.
  • Clean code.
  • Code style.
    • flake8 at root directory to check.
  • No significant code coverage drop (guarded by CodeCov).
    • Automatically checked when open/update PR.

Like many other python packages, you can set PYTHONPATH to tflite2onnx instead of building and installing to try our your changed.