xlnstorch.zeros_like

Contents

xlnstorch.zeros_like#

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

Returns an LNSTensor filled with zeros, with the same shape and properties as the input tensor. See torch.zeros_like for more details on the parameters.

Return type:

LNSTensor