xlnstorch.empty

Contents

xlnstorch.empty#

xlnstorch.empty(*size, out=None, layout=torch.strided, device=None, requires_grad=False, memory_format=torch.contiguous_format, pin_memory=False, f=None, b=None)#

Returns an uninitialized LNSTensor with the specified shape and properties. Note that the contents of the tensor comes from torch.empty, so is uninitialized and may contain arbitrary values.

Return type:

LNSTensor