Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix initialization of weight of Decoder (pytorch#775)
`nn.init.zeros_(self.decoder)` throws this error `AttributeError: module 'torch.nn.init' has no attribute 'zero_'` because the weights weren't passed.
- Loading branch information