/TensorFlow 2.4


Returns a list which has the passed-in Tensor as last element and the other elements of the given list in input_handle.

tensor: The tensor to put on the list. input_handle: The old list. output_handle: A list with the elements of the old list followed by tensor. element_dtype: the type of elements in the list. element_shape: a shape compatible with that of elements in the list.

input_handle A Tensor of type variant.
tensor A Tensor.
name A name for the operation (optional).
A Tensor of type variant.

© 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.