Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.compat.v2.size

View source on GitHub
tf.compat.v2.size(
    input,
    out_type=tf.dtypes.int32,
    name=None
)