ZerosLikeΒΆ
Returns a tensor filled with the scalar value 0, with the same size as input.
Abstract Signature:
ZerosLike(input: Tensor, dtype: DType, device: Device, requires_grad: bool = False, layout: Layout, memory_format: MemoryFormat)
Returns a tensor filled with the scalar value 0, with the same size as input.
Abstract Signature:
ZerosLike(input: Tensor, dtype: DType, device: Device, requires_grad: bool = False, layout: Layout, memory_format: MemoryFormat)