Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

TensorArraySize

public final class TensorArraySize

Get the current size of the TensorArray.

Public Methods

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.

Inherited Methods

Public Methods

public Output<Integer> 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 TensorArraySize create (Scope scope, Operand<?> handle, Operand<Float> flowIn)

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

Parameters
scope current scope
handle The handle to a TensorArray (output of TensorArray or TensorArrayGrad).
flowIn A float scalar that enforces proper chaining of operations.
Returns
  • a new instance of TensorArraySize

public Output<Integer> size ()

The current size of the TensorArray.