Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::TextLineReader
#include <io_ops.h>
A Reader that outputs the lines of a file delimited by '
'.
Summary
Arguments:
Optional attributes (see Attrs
):
- skip_header_lines: Number of lines to skip from the beginning of every file.
- container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.
- shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.
Returns:
Output
: The handle to reference the Reader.
Public attributes
operation
Operation operation
reader_handle
::tensorflow::Output reader_handle
Public functions
TextLineReader
TextLineReader(
const ::tensorflow::Scope & scope
)
TextLineReader
TextLineReader(
const ::tensorflow::Scope & scope,
const TextLineReader::Attrs & attrs
)
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Container
Attrs Container(
StringPiece x
)
SharedName
Attrs SharedName(
StringPiece x
)
Attrs SkipHeaderLines(
int64 x
)
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.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::TextLineReader Class Reference\n\ntensorflow::ops::TextLineReader\n===============================\n\n`#include \u003cio_ops.h\u003e`\n\nA Reader that outputs the lines of a file delimited by ' \n\n'.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs)):\n\n- skip_header_lines: Number of lines to skip from the beginning of every file.\n- container: If non-empty, this reader is placed in the given container. Otherwise, a default container is used.\n- shared_name: If non-empty, this reader is named in the given bucket with this shared_name. Otherwise, the node name is used instead.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The handle to reference the Reader.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [TextLineReader](#classtensorflow_1_1ops_1_1_text_line_reader_1a66fa9fed28552565e58024d687635c20)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope)` ||\n| [TextLineReader](#classtensorflow_1_1ops_1_1_text_line_reader_1aed74d51b4278508aa1d6faedcc0a0826)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, const `[TextLineReader::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_text_line_reader_1ab85e9d7259c373ad27fb3dddd606d03f) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [reader_handle](#classtensorflow_1_1ops_1_1_text_line_reader_1ac4ab46ef63e3cb743a68e39c4e11a609) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_text_line_reader_1a790db7925f50f5bc0571510dc97ab3a3)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_text_line_reader_1a7496b2588d4ceb8baffab128769c8434)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_text_line_reader_1a92aefc229676182bd1fbdde2d0907543)`() const ` | ` ` ` ` |\n\n| ### Public static functions ||\n|----------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| [Container](#classtensorflow_1_1ops_1_1_text_line_reader_1a1b17fd2027469c3e6a649fb2df0e66e2)`(StringPiece x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) |\n| [SharedName](#classtensorflow_1_1ops_1_1_text_line_reader_1ad4b36848bb237ab744e75cee38d09040)`(StringPiece x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) |\n| [SkipHeaderLines](#classtensorflow_1_1ops_1_1_text_line_reader_1af30a762e73b55a5d4e14feaccd55d14e)`(int64 x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs#structtensorflow_1_1ops_1_1_text_line_reader_1_1_attrs) |\n\n| ### Structs ||\n|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::TextLineReader::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/text-line-reader/attrs) | Optional attribute setters for [TextLineReader](/versions/r1.15/api_docs/cc/class/tensorflow/ops/text-line-reader#classtensorflow_1_1ops_1_1_text_line_reader). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### reader_handle\n\n```scdoc\n::tensorflow::Output reader_handle\n``` \n\nPublic functions\n----------------\n\n### TextLineReader\n\n```gdscript\n TextLineReader(\n const ::tensorflow::Scope & scope\n)\n``` \n\n### TextLineReader\n\n```gdscript\n TextLineReader(\n const ::tensorflow::Scope & scope,\n const TextLineReader::Attrs & attrs\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n``` \n\nPublic static functions\n-----------------------\n\n### Container\n\n```text\nAttrs Container(\n StringPiece x\n)\n``` \n\n### SharedName\n\n```text\nAttrs SharedName(\n StringPiece x\n)\n``` \n\n### SkipHeaderLines\n\n```text\nAttrs SkipHeaderLines(\n int64 x\n)\n```"]]