tf.raw_ops.TensorListStack
Складывает все тензоры в списке.
tf.raw_ops.TensorListStack(
input_handle, element_shape, element_dtype, num_elements=-1, name=None
)
Требуется, чтобы все тензоры имели одинаковую форму.
input_handle: входной тензор списка; собранный результат num_elements: необязательно. Если не -1, количество элементов в списке.
| Аргументы | |
|---|---|
input_handle | A Tensor типа variant. |
element_shape | A Tensor типа int32. |
element_dtype | A tf.DType. |
num_elements | Необязательный int. По умолчанию -1. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
A Tensor типа 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.3/api_docs/python/tf/raw_ops/TensorListStack