ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TensorArrayScatter

public final class TensorArrayScatter

Scatter the data from the input value into specific TensorArray elements.

`indices` must be a vector, its length must match the first dim of `value`.

Public Methods

Output<Float>
asOutput()
Returns the symbolic handle of a tensor.
static <T> TensorArrayScatter
create(Scope scope, Operand<?> handle, Operand<Integer> indices, Operand<T> value, Operand<Float> flowIn)
Factory method to create a class wrapping a new TensorArrayScatter operation.
Output<Float>
flowOut()
A float scalar that enforces proper chaining of operations.

Inherited Methods

Public Methods

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

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

Parameters
scope current scope
handle The handle to a TensorArray.
indices The locations at which to write the tensor elements.
value The concatenated tensor to write to the TensorArray.
flowIn A float scalar that enforces proper chaining of operations.
Returns
  • a new instance of TensorArrayScatter

public Output<Float> flowOut ()

A float scalar that enforces proper chaining of operations.