Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::ReaderRead
#include <io_ops.h>
Returns the next record (key, value pair) produced by a Reader.
Summary
Will dequeue from the input queue if necessary (e.g. when the Reader needs to start reading from a new file since it has finished with the previous file).
Args:
- scope: A Scope object
- reader_handle: Handle to a Reader.
- queue_handle: Handle to a Queue, with string work items.
Returns:
Public attributes
Public functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tensorflow::ops::ReaderRead Class Reference\n\ntensorflow::ops::ReaderRead\n===========================\n\n`#include \u003cio_ops.h\u003e`\n\nReturns the next record (key, value pair) produced by a Reader.\n\nSummary\n-------\n\nWill dequeue from the input queue if necessary (e.g. when the Reader needs to start reading from a new file since it has finished with the previous file).\n\nArgs:\n\n- scope: A [Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- reader_handle: Handle to a Reader.\n- queue_handle: Handle to a Queue, with string work items.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) key: A scalar.\n- [Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) value: A scalar.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ReaderRead](#classtensorflow_1_1ops_1_1_reader_read_1a7d1eef47d4a87dceeded2d6750e7cb0e)`(const ::`[tensorflow::Scope](/versions/r2.14/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` reader_handle, ::`[tensorflow::Input](/versions/r2.14/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` queue_handle)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [key](#classtensorflow_1_1ops_1_1_reader_read_1a0d1111765b2bd6b3cbab0cbe8fe599f5) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_reader_read_1af68b5bdc62c28936b77f59faa6864a47) | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [value](#classtensorflow_1_1ops_1_1_reader_read_1a80683cdf25825be1e931e1def4ac07bb) | `::`[tensorflow::Output](/versions/r2.14/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### key\n\n```text\n::tensorflow::Output key\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\n### value\n\n```text\n::tensorflow::Output value\n``` \n\nPublic functions\n----------------\n\n### ReaderRead\n\n```gdscript\n ReaderRead(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input reader_handle,\n ::tensorflow::Input queue_handle\n)\n```"]]