tensorflow::ops::ReaderReadUpTo
#include <io_ops.h>
Возвращает до num_records (ключ, значение) пар, созданных Чтецом.
Summary
Будет извлекать из очереди ввода при необходимости (например, когда Чтецу нужно начать чтение из нового файла, поскольку он завершил чтение предыдущего файла). Может возвращать меньше, чем 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 | |
Общедоступные атрибуты
ключи
::tensorflow::Output keys
операция
Operation operation
значения
::tensorflow::Output values
Общедоступные функции
ReaderReadUpTo
ReaderReadUpTo( const ::tensorflow::Scope & scope, ::tensorflow::Input reader_handle, ::tensorflow::Input queue_handle, ::tensorflow::Input num_records )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/reader-read-up-to