The question says it all. I want to get a 2-D torch.Tensor with size [a,b] filled with values from a uniform distribution (in range [r1,r2]
torch.Tensor
[a,b]
[r1,r2]
torch.FloatTensor(a, b).uniform_(r1, r2)