Spec-Zone.ru › TensorFlow C++ 2.3

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
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
)

© 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

Spec-Zone.ru

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