tf.raw_ops.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

Args
input_handle A Tensor of type variant.
element_shape A Tensor of type int32.
element_dtype A tf.DType.
name A name for the operation (optional).
Returns
A tuple of Tensor objects (output_handle, tensor).
output_handle A Tensor of type variant.
tensor A Tensor of type element_dtype.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/TensorListPopBack