Warning: This API is deprecated and will be removed in a future version of TensorFlow after the replacement is stable.

TensorListSplit

public final class TensorListSplit

Splits a tensor into a list.

list[i] corresponds to lengths[i] tensors from the input tensor. The tensor must have rank at least 1 and contain exactly sum(lengths) elements.

tensor: The input tensor. element_shape: A shape compatible with that of elements in the tensor. lengths: Vector of sizes of the 0th dimension of tensors in the list. output_handle: The list.

Public Methods

Output <Object>
asOutput ()
Returns the symbolic handle of a tensor.
static <T, U extends Number> TensorListSplit
create ( Scope scope, Operand <T> tensor, Operand <U> elementShape, Operand <Long> lengths)
Factory method to create a class wrapping a new TensorListSplit operation.
Output <?>

Inherited Methods

Public Methods

public Output <Object> 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 TensorListSplit create ( Scope scope, Operand <T> tensor, Operand <U> elementShape, Operand <Long> lengths)

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

Parameters
scope current scope
Returns
  • a new instance of TensorListSplit

public Output <?> outputHandle ()