xlnstorch.rand#
- xlnstorch.rand(*size, generator=None, out=None, layout=torch.strided, device=None, requires_grad=False, pin_memory=False, f=None, b=None)#
Returns an LNSTensor filled with random numbers from a uniform distribution on the interval [0, 1], with the specified shape and properties. See torch.rand for more details on the parameters.
- Return type:
LNSTensor