tf.keras.ops.empty

Return a tensor of given shape and type filled with uninitialized data.

Main aliases

tf.keras.ops.numpy.empty

shape Shape of the empty tensor.
dtype Desired data type of the empty tensor.

The empty tensor.