报错RuntimeError: “normal_kernel_cpu” not implemented for ‘Long’
torch.normal(mean=torch.full([10],0),std=torch.arange(1,0,-0.1))
改为
torch.normal(mean=torch.full([10],0.),std=torch.arange(1,0,-0.1))
报错RuntimeError: “normal_kernel_cpu” not implemented for ‘Long’
torch.normal(mean=torch.full([10],0),std=torch.arange(1,0,-0.1))
改为
torch.normal(mean=torch.full([10],0.),std=torch.arange(1,0,-0.1))