Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tf.size

TensorFlow 1 version View source on GitHub
tf.size(
    input, out_type=tf.dtypes.int32, name=None
)

Used in the notebooks

Used in the tutorials