Attend the Women in ML Symposium on December 7 Register now

TensorListPopBack

public final class TensorListPopBack

Returns the last element of the input list as well as a list with all but that element.

Fails if the list is empty.

input_handle: the input list tensor: the withdrawn last element of the list element_dtype: the type of elements in the list element_shape: the shape of the output tensor

Public Methods

static <T> TensorListPopBack<T>
create(Scope scope, Operand<?> inputHandle, Operand<Integer> elementShape, Class<T> elementDtype)
Factory method to create a class wrapping a new TensorListPopBack operation.
Output<?>
Output<T>
tensor()

Inherited Methods

Public Methods

public static TensorListPopBack<T> create (Scope scope, Operand<?> inputHandle, Operand<Integer> elementShape, Class<T> elementDtype)

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

Parameters
scope current scope
Returns
  • a new instance of TensorListPopBack

public Output<?> outputHandle ()

public Output<T> tensor ()