View source on GitHub |
Return a full tensor with the same shape and type as the given tensor.
tf.keras.ops.full_like(
x, fill_value, dtype=None
)
Args | |
---|---|
x
|
Input tensor. |
fill_value
|
Fill value. |
dtype
|
Overrides data type of the result. |
Returns | |
---|---|
Tensor of fill_value with the same shape and type as x .
|