tensorly.zeros_like

zeros_like(tensor)

Return at tensor of zeros with the same shape and type as a given tensor.

Parameters

tensor : tensor