mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Add cppcoreguidelines-avoid-magic-numbers exclusion to clang-tidy Remove existing nolint warnings using following script: ``` for file in `git ls-files | grep -v \.py`; do gsed '/^ *\/\/ NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers)/d' -i $file; done ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/57841 Reviewed By: samestep Differential Revision: D28295045 Pulled By: malfet fbshipit-source-id: 7c6e8d1213c9593f169ed3df6a916498f1a97163 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| adagrad_avx2.cc | ||
| adagrad.cc | ||
| adagrad.h | ||
| CMakeLists.txt | ||
| common_avx.cc | ||
| common_avx2.cc | ||
| common_avx512.cc | ||
| common.h | ||
| cvtsh_ss_bugfix.h | ||
| embedding_lookup_avx2.cc | ||
| embedding_lookup_fused_8bit_rowwise_avx2.cc | ||
| embedding_lookup_fused_8bit_rowwise_idx_avx2.cc | ||
| embedding_lookup_idx_avx2.cc | ||
| embedding_lookup_idx.cc | ||
| embedding_lookup_idx.h | ||
| embedding_lookup.cc | ||
| embedding_lookup.h | ||
| fused_8bit_rowwise_embedding_lookup_idx.cc | ||
| fused_8bit_rowwise_embedding_lookup_idx.h | ||
| fused_8bit_rowwise_embedding_lookup.cc | ||
| fused_8bit_rowwise_embedding_lookup.h | ||
| fused_nbit_rowwise_conversion.cc | ||
| fused_nbit_rowwise_conversion.h | ||
| hp_emblookup_codegen.py | ||
| lstm_unit_cpu_avx2.cc | ||
| lstm_unit_cpu_common.cc | ||
| lstm_unit_cpu_common.h | ||
| lstm_unit_cpu-impl.h | ||
| lstm_unit_cpu.h | ||
| math_cpu_avx2.cc | ||
| math_cpu_base.cc | ||
| math.h | ||
| typed_axpy_avx.cc | ||
| typed_axpy_avx2.cc | ||
| typed_axpy.cc | ||
| typed_axpy.h | ||