tensorflow::ops::ReaderReadUpTo
#include <io_ops.h>
Возвращает до num_records пар (ключ, значение), созданных Reader.
Сводка
При необходимости извлекает элемент из входной очереди (например, когда Reader должен начать чтение нового файла, поскольку чтение предыдущего файла завершено). Он может вернуть меньше num_records даже до последней порции.
Аргументы:
- scope: объект Scope
- reader_handle: дескриптор
Reader. - queue_handle: дескриптор
Queueсо строковыми рабочими элементами. - num_records: количество записей, считываемых из
Reader.
Возвращает:
| Конструкторы и деструкторы | |
|---|---|
ReaderReadUpTo(const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle, ::tensorflow::Input num_records) |
| Публичные атрибуты | |
|---|---|
keys | |
operation | |
values | |
Публичные атрибуты
keys
::tensorflow::Output keys
operation
Operation operation
values
::tensorflow::Output values
Публичные функции
ReaderReadUpTo
ReaderReadUpTo( const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle, ::tensorflow::Input num_records )
© 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/cc/class/tensorflow/ops/reader-read-up-to