TensorListLength

public final class TensorListLength

Returns the number of tensors in the input tensor list.

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

Public Methods

Output <Integer>
asOutput ()
Returns the symbolic handle of a tensor.
static TensorListLength
create ( Scope scope, Operand <?> inputHandle)
Factory method to create a class wrapping a new TensorListLength operation.
Output <Integer>

Inherited Methods

Public Methods

public Output <Integer> asOutput ()

Returns the symbolic handle of a tensor.

Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.

public static TensorListLength create ( Scope scope, Operand <?> inputHandle)

Factory method to create a class wrapping a new TensorListLength operation.

Parameters
scope current scope
Returns
  • a new instance of TensorListLength

public Output <Integer> length ()