tf.TensorArray.split()

tf.TensorArray.split(value, lengths, name=None)

Split the values of a Tensor into the TensorArray.

Args:
  • value: (N+1)-D. Tensor of type dtype. The Tensor to split.
  • lengths: 1-D. int32 vector with the lengths to use when splitting value along its first dimension.
  • name: A name for the operation (optional).
Returns:

A new TensorArray object with flow that ensures the split occurs. Use this object all for subsequent operations.

Raises:
  • ValueError: if the shape inference fails.
doc_TensorFlow
2016-10-14 13:09:23
Comments
Leave a Comment

Please login to continue.