Fix apply_prob_decay to 500

This commit is contained in:
Daniel Povey 2022-06-09 19:20:03 +08:00
parent fca844d80c
commit 082a890635

View File

@ -795,9 +795,9 @@ class Decorrelate(torch.nn.Module):
def __init__(self,
num_channels: int,
scale: float = 0.1,
apply_prob_decay: int = 2000,
apply_prob_decay: int = 500,
eps: float = 1.0e-05,
beta: float = 0.95,
beta: float = 0.9,
channel_dim: int = -1):
super(Decorrelate, self).__init__()
self.scale = scale