mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
* init files * use average value as memory vector for each chunk * change tail padding length from right_context_length to chunk_length * correct the files, ln -> cp * fix bug in conv_emformer_transducer_stateless2/emformer.py * fix doc in conv_emformer_transducer_stateless/emformer.py * refactor init states for stream * modify .flake8 * fix bug about memory mask when memory_size==0 * add @torch.jit.export for init_states function * update RESULTS.md * minor change * update README.md * modify doc * replace torch.div() with << * fix bug, >> -> << * use i&i-1 to judge if it is a power of 2 * minor fix * fix error in RESULTS.md
22 lines
550 B
INI
22 lines
550 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/conv_emformer_transducer_stateless*/*.py: E501, E203
|
|
|
|
# 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
|