TensorListReserve

public final class TensorListReserve

List of the given size with empty elements.

element_shape: the shape of the future elements of the list num_elements: the number of elements to reserve handle: the output list element_dtype: the desired type of elements in the list.

Constants

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

Public Methods

Output<TType>
asOutput()
Returns the symbolic handle of the tensor.
static <U extends TType> TensorListReserve
create(Scope scope, Operand<? extends TNumber> elementShape, Operand<TInt32> numElements, Class<U> elementDtype)
Factory method to create a class wrapping a new TensorListReserve operation.
Output<?>
handle()

Inherited Methods

Constants

public static final String OP_NAME

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

Constant Value: "TensorListReserve"

Public Methods

public Output<TType> 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 TensorListReserve create (Scope scope, Operand<? extends TNumber> elementShape, Operand<TInt32> numElements, Class<U> elementDtype)

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

Parameters
scope current scope
Returns
  • a new instance of TensorListReserve

public Output<?> handle ()