tf.raw_ops.QueueSize

Computes the number of elements in the given queue.

tf.raw_ops.QueueSize(
    handle, name=None
)

Args:

  • handle: A Tensor of type mutable string. The handle to a queue.
  • name: A name for the operation (optional).

Returns:

A Tensor of type int32.