tensorflow::ops::TextLineReader
#include <io_ops.h>
Чтение строк из файла, разделённых '
'.
Краткое описание
Аргументы:
- scope: Объект Scope
Необязательные атрибуты (см. Attrs):
- skip_header_lines: Количество строк, которые нужно пропустить в начале каждого файла.
- container: Если не пусто, этот reader помещается в заданный контейнер. Иначе используется контейнер по умолчанию.
- shared_name: Если не пусто, этот reader получает имя в заданном бакете с этим shared_name. Иначе используется имя узла.
Возвращает:
-
Output: Дескриптор для обращения к Reader.
| Конструкторы и деструкторы | |
|---|---|
TextLineReader(const ::tensorflow::Scope & scope) | |
TextLineReader(const ::tensorflow::Scope & scope, const TextLineReader::Attrs & attrs) |
| Публичные атрибуты | |
|---|---|
operation | |
reader_handle | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Публичные статические функции | |
|---|---|
Container(StringPiece x) | |
SharedName(StringPiece x) | |
SkipHeaderLines(int64 x) | |
| Структуры | |
|---|---|
| tensorflow::ops::TextLineReader::Attrs | Необязательные атрибуты для установки для TextLineReader. |
Публичные атрибуты
operation
Operation operation
reader_handle
::tensorflow::Output reader_handle
Публичные функции
TextLineReader
TextLineReader( const ::tensorflow::Scope & scope )
TextLineReader
TextLineReader( const ::tensorflow::Scope & scope, const TextLineReader::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Публичные статические функции
Container
Attrs Container( StringPiece x )
SharedName
Attrs SharedName( StringPiece x )
SkipHeaderLines
Attrs SkipHeaderLines( int64 x )
© 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/text-line-reader