Provides a function to sample torch tensors from an arbitrary uniform distribution.
torch_rand_ab(shape, a = -1, b = 1, ...)
Vector of dimensions of resulting tensor
Lower bound of uniform distribution to sample from
Upper bound of uniform distribution to sample from
Potential additional arguments
A sample from the specified uniform distribution in a tensor with the specified shape