tf.raw_ops.TensorListLength

Returns the number of tensors in the input tensor list.

tf.raw_ops.TensorListLength(
    input_handle, name=None
)

input_handle: the input list length: the number of tensors in the list

Args:

  • input_handle: A Tensor of type variant.
  • name: A name for the operation (optional).

Returns:

A Tensor of type int32.