tf.keras.ops.size

Return the number of elements in a tensor.

x Input tensor.

Number of elements in x.