Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

TensorListReserve

Stay organized with collections Save and categorize content based on your preferences.
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.

Public Methods

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

Inherited Methods

Public Methods

public Output<Object> 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 TensorListReserve create (Scope scope, Operand<T> elementShape, Operand<Integer> 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 ()