I’m using Pytorch 0.4.0, torchvision 0.2.1, Python 3.6.4, cuda9.2
When running into nn.init.zeros_(self.rnn.bias)
I got this error:
AttributeError: module 'torch.nn.init' has no attribute 'zeros_'
Why is this happend?
Thank you!