Spec-Zone.ru › TensorFlow C++

tensorflow::ops::TextLineReader

#include <io_ops.h>

Средство чтения, которое выводит строки файла, разделённые символом '\n'.

Краткое описание

Аргументы:

  • 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
Operation
reader_handle
::tensorflow::Output
Открытые функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Открытые статические функции
Container(StringPiece x)
Attrs
SharedName(StringPiece x)
Attrs
SkipHeaderLines(int64 x)
Attrs
Структуры
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
)

© 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/api_docs/cc/class/tensorflow/ops/text-line-reader

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API