TensorArrayRead

public final class TensorArrayRead

Read an element from the TensorArray into output `value`.

Public Methods

Output<T>
asOutput()
Returns the symbolic handle of a tensor.
static <T> TensorArrayRead<T>
create(Scope scope, Operand<?> handle, Operand<Integer> index, Operand<Float> flowIn, Class<T> dtype)
Factory method to create a class wrapping a new TensorArrayRead operation.
Output<T>
value()
The tensor that is read from the TensorArray.

Inherited Methods

Public Methods

public Output<T> 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 TensorArrayRead<T> create (Scope scope, Operand<?> handle, Operand<Integer> index, Operand<Float> flowIn, Class<T> dtype)

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

Parameters
scope current scope
handle The handle to a TensorArray.
flowIn A float scalar that enforces proper chaining of operations.
dtype The type of the elem that is returned.
Returns
  • a new instance of TensorArrayRead

public Output<T> value ()

The tensor that is read from the TensorArray.