xlnstorch.ones#
- xlnstorch.ones(*size, out=None, layout=torch.strided, device=None, requires_grad=False, f=None, b=None)#
Returns an LNSTensor filled with ones, with the specified shape and properties. See torch.ones for more details on the parameters.
- Return type:
LNSTensor