tf.raw_ops.TensorListGather
Создаёт тензор, индексируя в TensorList.
tf.raw_ops.TensorListGather(
input_handle, indices, element_shape, element_dtype, name=None
)
Каждая строка созданного тензора соответствует элементу в TensorList, указанному заданным индексом (см. tf.gather).
input_handle: Входной список тензоров. indices: Индексы, используемые для индексирования в списке. values: Тензор.
| Аргументы | |
|---|---|
input_handle | A Tensor типа variant. |
indices | A Tensor типа int32. |
element_shape | A Tensor типа int32. |
element_dtype | A tf.DType. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor типа element_dtype. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorListGather