텐서플로우:: 작전:: 고정길이레코드리더

#include <io_ops.h>

파일에서 고정 길이 레코드를 출력하는 Reader입니다.

요약

인수:

  • 범위: 범위 개체
  • Record_bytes: 레코드의 바이트 수입니다.

선택적 속성( Attrs 참조):

  • header_bytes: 헤더의 바이트 수, 기본값은 0입니다.
  • footer_bytes: 바닥글의 바이트 수, 기본값은 0입니다.
  • hop_bytes: 각 읽기 전에 홉할 바이트 수입니다. 기본값 0은 Record_bytes를 사용함을 의미합니다.
  • 컨테이너: 비어 있지 않은 경우 이 판독기는 지정된 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
  • shared_name: 비어 있지 않은 경우 이 리더는 지정된 버킷에서 이 shared_name으로 이름이 지정됩니다. 그렇지 않으면 노드 이름이 대신 사용됩니다.
  • 인코딩: 파일의 인코딩 유형입니다. 현재 ZLIB 및 GZIP이 지원됩니다. 기본값은 없음입니다.

보고:

  • Output : 판독기를 참조하는 핸들입니다.

생성자와 소멸자

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

공개 속성

operation
reader_handle

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 정적 함수

Container (StringPiece x)
Encoding (StringPiece x)
FooterBytes (int64 x)
HeaderBytes (int64 x)
HopBytes (int64 x)
SharedName (StringPiece x)

구조체

텐서플로우:: ops:: FixLengthRecordReader:: Attrs

FixLengthRecordReader 에 대한 선택적 속성 설정자입니다.

공개 속성

작업

Operation operation

리더_핸들

::tensorflow::Output reader_handle

공공 기능

고정길이레코드리더

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

고정길이레코드리더

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

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const 

공개 정적 함수

컨테이너

Attrs Container(
  StringPiece x
)

부호화

Attrs Encoding(
  StringPiece x
)

바닥글바이트

Attrs FooterBytes(
  int64 x
)

헤더바이트

Attrs HeaderBytes(
  int64 x
)

홉바이트

Attrs HopBytes(
  int64 x
)

공유 이름

Attrs SharedName(
  StringPiece x
)