copapy.zeros#

copapy.zeros(shape)#

Create a zero tensor of given shape.

Parameters:

shape (Sequence[int] | int) – shape of the tensor to create.

Return type:

tensor[int]

Returns:

New tensor of given shape, initialized with zeros.