operation
Modifier and Type | Method and Description |
---|---|
Output<Integer> |
asOutput()
Returns the symbolic handle of a tensor.
|
static TensorArraySize |
create(Scope scope,
Operand<?> handle,
Operand<Float> flowIn)
Factory method to create a class wrapping a new TensorArraySize operation.
|
Output<Integer> |
size()
The current size of the TensorArray.
|
equals, hashCode, op, toString
public static TensorArraySize create(Scope scope, Operand<?> handle, Operand<Float> flowIn)
scope
- current scopehandle
- The handle to a TensorArray (output of TensorArray or TensorArrayGrad).flowIn
- A float scalar that enforces proper chaining of operations.public Output<Integer> 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<Integer>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.