tensorflow::ops::TextLineReader
#include <io_ops.h>
Чтение строк файла, разделенных '
'.
Краткое описание
Аргументы:
- scope: Объект Scope
Дополнительные атрибуты (см. Attrs):
- skip_header_lines: Количество строк для пропуска в начале каждого файла.
- container: Если не пусто, этот ридер размещается в заданном контейнере. В противном случае используется контейнер по умолчанию.
- shared_name: Если не пусто, этот ридер получает имя в заданном букете с этим shared_name. В противном случае используется имя узла.
Возвращает:
-
Output: Дескриптор ридера.
| Конструкторы и деструкторы | |
|---|---|
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 )
узел
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Публичные статические функции
Контейнер
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/r1.15/api_docs/cc/class/tensorflow/ops/text-line-reader