tf.TensorArray.write(index, value, name=None)
Write value into index index of the TensorArray.
Args:
index: 0-D. int32 scalar with the index to write to.
value: N-D. Tensor of type dtype. The Tensor to write to this index.
name: A name for the operation (optional).
Returns:
A new TensorArray object with flow that ensures the write occurs. Use this object all for subsequent operations.
Raises:
ValueError: if there are more writers than specified.