tf.raw_ops.MakeIterator
Создает новый итератор из указанного dataset и сохраняет его в iterator.
tf.raw_ops.MakeIterator(
dataset, iterator, name=None
)
Эта операция может выполняться несколько раз. При каждом выполнении итератор в iterator будет сбрасываться на первый элемент dataset.
| Аргументы | |
|---|---|
dataset | Tensor типа variant. |
iterator | Tensor типа resource. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
| Созданная операция. |
© 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/MakeIterator