title: How to get a uniform distribution in a range [r1,r2] in PyTorch?
body: <p>I want to get a 2-D <code>torch.Tensor</code> with size <code>[a,b]</code> filled with values from a uniform distribution (in range <code>[r1,r2]</code>) in PyTorch.</p>