@Operator public final class TensorListReserve extends PrimitiveOp implements Operand<Object>
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.
operation
Modifier and Type | Method and Description |
---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number,U> |
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() |
equals, hashCode, op, toString
public static <T extends Number,U> TensorListReserve create(Scope scope, Operand<T> elementShape, Operand<Integer> numElements, Class<U> elementDtype)
scope
- current scopeelementShape
- numElements
- elementDtype
- public Output<?> handle()
public Output<Object> asOutput()
Operand
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.
asOutput
in interface Operand<Object>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.