tf.raw_ops.TensorListGather
Создаёт тензор, индексируя список тензоров.
tf.raw_ops.TensorListGather(
input_handle, indices, element_shape, element_dtype, name=None
)
Каждая строка результирующего тензора соответствует элементу списка тензоров, указанному заданным индексом (см. tf.gather).
input_handle: входной список тензоров. indices: индексы для обращения к элементам списка. values: тензор.
| Аргументы | |
|---|---|
input_handle | Tensor типа variant. |
indices | Tensor типа int32. |
element_shape | Tensor типа int32. |
element_dtype | tf.DType. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
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