Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::FixedLengthRecordReader

#include <io_ops.h>

Чтец, который выводит записи фиксированной длины из файла.

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

Аргументы:

  • scope: Объект Scope
  • record_bytes: Количество байтов в записи.

Необязательные атрибуты (см. Attrs):

  • header_bytes: Количество байтов в заголовке, по умолчанию 0.
  • footer_bytes: Количество байтов в подвале, по умолчанию 0.
  • hop_bytes: Количество байтов для перехода перед каждым чтением. Значение по умолчанию 0 означает использование record_bytes.
  • container: Если не пусто, этот чтец размещается в указанном контейнере. В противном случае используется контейнер по умолчанию.
  • shared_name: Если не пусто, этот чтец называется в заданном ведре с этим shared_name. В противном случае используется имя узла.
  • encoding: Тип кодирования файла. В настоящее время поддерживаются ZLIB и GZIP. По умолчанию — ничего.

Возвращаемое значение:

  • Output: Детекторы для указания на чтеца.
Конструкторы и деструкторы
FixedLengthRecordReader(const ::tensorflow::Scope & scope, int64 record_bytes)
FixedLengthRecordReader(const ::tensorflow::Scope & scope, int64 record_bytes, const FixedLengthRecordReader::Attrs & attrs)
Публичные атрибуты
operation
Operation
reader_handle
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Публичные статические функции
Container(StringPiece x)
Attrs
Encoding(StringPiece x)
Attrs
FooterBytes(int64 x)
Attrs
HeaderBytes(int64 x)
Attrs
HopBytes(int64 x)
Attrs
SharedName(StringPiece x)
Attrs
Структуры
tensorflow::ops::FixedLengthRecordReader::Attrs

Необязательные параметры установки атрибутов для FixedLengthRecordReader.

Публичные атрибуты

operation

Operation operation

reader_handle

::tensorflow::Output reader_handle

Публичные функции

FixedLengthRecordReader

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes
)

FixedLengthRecordReader

 FixedLengthRecordReader(
  const ::tensorflow::Scope & scope,
  int64 record_bytes,
  const FixedLengthRecordReader::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
)

Encoding

Attrs Encoding(
  StringPiece x
)

FooterBytes

Attrs FooterBytes(
  int64 x
)

HeaderBytes

Attrs HeaderBytes(
  int64 x
)

HopBytes

Attrs HopBytes(
  int64 x
)

SharedName

Attrs SharedName(
  StringPiece 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/fixed-length-record-reader

Spec-Zone.ru

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