mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
* init files * add gradient filter module * refact getting median value * add cutoff for grad filter * delete comments * apply gradient filter in LSTM module, to filter both input and params * fix typing and refactor * filter with soft mask * rename lstm_transducer_stateless2 to lstm_transducer_stateless3 * fix typos, and update RESULTS.md * minor fix * fix return typing * fix typo
33 lines
875 B
INI
33 lines
875 B
INI
[flake8]
|
|
show-source=true
|
|
statistics=true
|
|
max-line-length = 80
|
|
per-file-ignores =
|
|
# line too long
|
|
icefall/diagnostics.py: E501,
|
|
egs/*/ASR/*/conformer.py: E501,
|
|
egs/*/ASR/pruned_transducer_stateless*/*.py: E501,
|
|
egs/*/ASR/*/optim.py: E501,
|
|
egs/*/ASR/*/scaling.py: E501,
|
|
egs/librispeech/ASR/lstm_transducer_stateless*/*.py: E501, E203
|
|
egs/librispeech/ASR/conv_emformer_transducer_stateless*/*.py: E501, E203
|
|
egs/librispeech/ASR/conformer_ctc2/*py: E501,
|
|
egs/librispeech/ASR/RESULTS.md: E999,
|
|
|
|
# invalid escape sequence (cause by tex formular), W605
|
|
icefall/utils.py: E501, W605
|
|
|
|
exclude =
|
|
.git,
|
|
**/data/**,
|
|
icefall/shared/make_kn_lm.py,
|
|
icefall/__init__.py
|
|
|
|
ignore =
|
|
# E203 white space before ":"
|
|
E203,
|
|
# W503 line break before binary operator
|
|
W503,
|
|
# E226 missing whitespace around arithmetic operator
|
|
E226,
|