mirror of
https://github.com/Tencent/ncnn.git
synced 2026-10-18 13:42:18 +08:00
6e340f5e79
* tf2sb * wip * wip * concat maxpool avgpool * StridedSlice * handle stridedslice mask * convert mlir deconvolution * convert deconvolution output shape * convert tanh * code format
10 lines
642 B
Bash
Executable File
10 lines
642 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# we run clang-format and astyle twice to get stable format output
|
|
|
|
find src/ tools/ tests/ examples/ benchmark/ -type f -name '*.c' -o -name '*.cpp' -o -name '*.cc' -o -name '*.h' | xargs -i clang-format -i {}
|
|
astyle -n -r "benchmark/*.h,*.cpp,*.cc" "src/*.h,*.cpp,*.cc" "tests/*.h,*.cpp,*.cc" "tools/*.h,*.cpp,*.cc" "examples/*.h,*.cpp,*.cc"
|
|
|
|
find src/ tools/ tests/ examples/ benchmark/ -type f -name '*.c' -o -name '*.cpp' -o -name '*.cc' -o -name '*.h' | xargs -i clang-format -i {}
|
|
astyle -n -r "benchmark/*.h,*.cpp,*.cc" "src/*.h,*.cpp,*.cc" "tests/*.h,*.cpp,*.cc" "tools/*.h,*.cpp,*.cc" "examples/*.h,*.cpp,*.cc"
|