Hi,
When I define a Parameter like this:
from torch.nn import  Parameter
a=Parameter(torch.Tensor(10,10))


I found the parameter contains nan.

image.jpg1808×1340 617 KB

I am wondering does Parameter have to do initialization manually to avoid getting nan? Or is my way of defining Parameter wrong?