tf.keras.ops.zeros_like

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

Main aliases

tf.keras.ops.numpy.zeros_like

x Input tensor.
dtype Overrides the data type of the result.

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