Returns a list which has the passed-in Tensor
as last element and the other elements of the given list in input_handle
.
tf.raw_ops.TensorListPushBack( input_handle, tensor, name=None )
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.
Args | |
---|---|
input_handle | A Tensor of type variant . |
tensor | A Tensor . |
name | A name for the operation (optional). |
Returns | |
---|---|
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.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/TensorListPushBack