jbech-linaro / janncy

Just Another Neural Network Compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dependencies: scons, python3, clang-10

Pre-Commit Hooks

Install pre-commit to automatically run the pre-commit hooks before comitting. To run the hooks manually, use

$ pre-commit run --all-files

Style and Formatting

We defer all formatting and style decisions to the Google C++ Style Guide.

We use clang-format for C++ code formatting. Clang-format should be executed automatically by a pre-commit hook.

Additionally, if you use vim, you can configure it to run clang-format when a C++ file is saved. The linked configuration uses rhysd/vim-clang-format, and follows the rules specified in .clang-format (and doesn't run if .clang-format doesn't exist).

You can also try running a clang-tidy check via scripts/clang-tidy.sh from the root of the repository, but that's not yet super reliable.

About

Just Another Neural Network Compiler


Languages

Language:C++ 91.5%Language:Python 7.9%Language:Shell 0.6%