mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 10:32:17 +00:00
small fix
This commit is contained in:
parent
6018f222df
commit
142ea421b0
@ -156,6 +156,13 @@ def add_model_arguments(parser: argparse.ArgumentParser):
|
|||||||
`grad_norm_threshold * median`, where `median` is the median
|
`grad_norm_threshold * median`, where `median` is the median
|
||||||
value of gradient norms of all elememts in batch.""",
|
value of gradient norms of all elememts in batch.""",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
parser.add_argument(
|
||||||
|
"--is-pnnx",
|
||||||
|
type=str2bool,
|
||||||
|
default=False,
|
||||||
|
help="Only used when exporting model with pnnx."
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def get_parser():
|
def get_parser():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user