mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-18 21:44:18 +00:00
Fix return type
This commit is contained in:
parent
68c5935691
commit
4c8d77d14a
@ -513,7 +513,7 @@ param_rms_smooth1: Smoothing proportion for parameter matrix, if assumed rank of
|
||||
|
||||
def _is_lr_update_step(self,
|
||||
group: dict,
|
||||
state: dict) -> False:
|
||||
state: dict) -> bool:
|
||||
"""
|
||||
Returns True if on this step we need to update the learning-rate matrices for this tensor
|
||||
and False if not. The periodicity with which we update them increases from
|
||||
@ -534,7 +534,6 @@ param_rms_smooth1: Smoothing proportion for parameter matrix, if assumed rank of
|
||||
return (step >= zero_step + cur_update_period)
|
||||
|
||||
|
||||
|
||||
def _update_lrs(self,
|
||||
group: dict,
|
||||
p: Tensor,
|
||||
|
Loading…
x
Reference in New Issue
Block a user