Missed TensorFlow World? Check out the recap. Learn more

tf.size

View source on GitHub

Aliases:

  • tf.compat.v2.size
tf.size(
    input,
    out_type=tf.dtypes.int32,
    name=None
)

Used in the tutorials: