tf.raw_ops.GetElementAtIndex
Получение элемента по указанному индексу в наборе данных.
tf.raw_ops.GetElementAtIndex(
dataset, index, output_types, output_shapes, name=None
)
| Аргументы | |
|---|---|
dataset | A Tensor типа variant. |
index | A Tensor типа int64. |
output_types | Список tf.DTypes, длина которого равна >= 1. |
output_shapes | Список форм (каждая — tf.TensorShape или список ints), длина которого равна >= 1. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
Список Tensor объектов типа output_types. |
© 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/GetElementAtIndex