@Operator public final class TensorListPushBack extends PrimitiveOp implements Operand<Object>
tensor: The tensor to put on the list. input_handle: The old list. output_handle: A list with the elements of the old list followed by tensor. element_dtype: the type of elements in the list. element_shape: a shape compatible with that of elements in the list.
operation
Modifier and Type | Method and Description |
---|---|
Output<Object> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T> TensorListPushBack |
create(Scope scope,
Operand<?> inputHandle,
Operand<T> tensor)
Factory method to create a class wrapping a new TensorListPushBack operation.
|
Output<?> |
outputHandle() |
equals, hashCode, op, toString
public static <T> TensorListPushBack create(Scope scope, Operand<?> inputHandle, Operand<T> tensor)
scope
- current scopeinputHandle
- tensor
- public Output<?> outputHandle()
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.