View source on GitHub |
Return a tensor of zeros with the same shape and type as x
.
tf.keras.ops.zeros_like(
x, dtype=None
)
Args | |
---|---|
x
|
Input tensor. |
dtype
|
Overrides the data type of the result. |
Returns | |
---|---|
A tensor of zeros with the same shape and type as x .
|