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

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

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

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "TensorListLength"

Public Methods

public Output<TInt32> asOutput ()

Returns the symbolic handle of the 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<TInt32> length ()