xlnstorch.randn_like

Contents

xlnstorch.randn_like#

xlnstorch.randn_like(input, *, layout=None, device=None, requires_grad=False, memory_format=torch.preserve_format, pin_memory=False, f=None, b=None)#

Returns an LNSTensor filled with random numbers from a normal distribution with mean 0 and variance 1, with the same shape and properties as the input tensor. See torch.rand_like for more details on the parameters.

Return type:

LNSTensor