tf.raw_ops.TensorListGetItem
Возвращает элемент списка по заданному индексу.
tf.raw_ops.TensorListGetItem(
input_handle, index, element_shape, element_dtype, name=None
)
input_handle: индекс списка: позиция в списке, из которой будет извлечён элемент item: элемент в этой позиции
| Аргументы | |
|---|---|
input_handle | A Tensor типа variant. |
index | 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/versions/r2.9/api_docs/python/tf/raw_ops/TensorListGetItem