Fix bug re param_cov freshness, properly.

This commit is contained in:
Daniel Povey 2022-07-15 08:33:10 +08:00
parent b6ee698278
commit 68c5935691

View File

@ -469,7 +469,7 @@ param_rms_smooth1: Smoothing proportion for parameter matrix, if assumed rank of
param_cov_period = group["param_cov_period"]
step = state["step"]
this_weight = (group["param_cov_freshness"] * param_cov_period /
this_weight = (group["param_cov_freshness"] * step /
(step + param_cov_period))
batch_size = p.shape[0]