View source on GitHub |
Return a tensor of given shape and type filled with uninitialized data.
tf.keras.ops.empty(
shape, dtype=None
)
Args | |
---|---|
shape
|
Shape of the empty tensor. |
dtype
|
Desired data type of the empty tensor. |
Returns | |
---|---|
The empty tensor. |