tf.TensorArray.split(value, lengths, name=None)
Split the values of a Tensor
into the TensorArray.
Args:
-
value
: (N+1)-D. Tensor of typedtype
. The Tensor to split. -
lengths
: 1-D. int32 vector with the lengths to use when splittingvalue
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.
Please login to continue.