tensorflow::ops::TextLineReader
#include <io_ops.h>
Чтение строк из файла, разделённых символом '\n'.
Краткое описание
Аргументы:
- scope: Объект Scope
Необязательные атрибуты (см. Attrs):
- skip_header_lines: Количество строк для пропуска в начале каждого файла.
- container: Если не пусто, этот ридер помещается в данный контейнер. В противном случае используется по умолчанию.
- 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
оператор::tensorflow::Input
operator::tensorflow::Input() const
оператор::tensorflow::Output
operator::tensorflow::Output() const
Общедоступные статические функции
Контейнер
Attrs Container( StringPiece x )
Имя_контейнера
Attrs SharedName( StringPiece x )
Пропустить_заголовки
Attrs SkipHeaderLines( int64 x )
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/cc/class/tensorflow/ops/text-line-reader