tf.raw_ops.ZerosLike

Returns a tensor of zeros with the same shape and type as x.

tf.raw_ops.ZerosLike(
    x, name=None
)

Args:

  • x: A Tensor. a tensor of type T.
  • name: A name for the operation (optional).

Returns:

A Tensor. Has the same type as x.