tf.raw_ops.LookupTableSize

Computes the number of elements in the given table.

tf.raw_ops.LookupTableSize(
    table_handle, name=None
)

Args:

  • table_handle: A Tensor of type mutable string. Handle to the table.
  • name: A name for the operation (optional).

Returns:

A Tensor of type int64.