mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-03 22:24:19 +00:00
Modify icefall/__init__.py and .flake8.
This commit is contained in:
parent
00baebd46e
commit
bc9a82b518
3
.flake8
3
.flake8
@ -13,4 +13,5 @@ per-file-ignores =
|
||||
exclude =
|
||||
.git,
|
||||
**/data/**,
|
||||
icefall/shared/make_kn_lm.py
|
||||
icefall/shared/make_kn_lm.py,
|
||||
icefall/__init__.py
|
||||
|
@ -1,7 +1,24 @@
|
||||
from .utils import AttributeDict, MetricsTracker
|
||||
from .utils import add_eos, add_sos, concat, encode_supervisions, \
|
||||
get_alignments, get_executor, get_texts, l1_norm, l2_norm, linf_norm, \
|
||||
load_alignments, make_pad_mask, measure_gradient_norms, \
|
||||
measure_weight_norms, optim_step_and_measure_param_change, \
|
||||
save_alignments, setup_logger, store_transcripts, str2bool, \
|
||||
write_error_stats
|
||||
from .utils import (
|
||||
AttributeDict,
|
||||
MetricsTracker,
|
||||
add_eos,
|
||||
add_sos,
|
||||
concat,
|
||||
encode_supervisions,
|
||||
get_alignments,
|
||||
get_executor,
|
||||
get_texts,
|
||||
l1_norm,
|
||||
l2_norm,
|
||||
linf_norm,
|
||||
load_alignments,
|
||||
make_pad_mask,
|
||||
measure_gradient_norms,
|
||||
measure_weight_norms,
|
||||
optim_step_and_measure_param_change,
|
||||
save_alignments,
|
||||
setup_logger,
|
||||
store_transcripts,
|
||||
str2bool,
|
||||
write_error_stats,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user