tf.TensorArray.write()

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.
doc_TensorFlow
2016-10-14 13:09:23
Comments
Leave a Comment

Please login to continue.