Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

텐서플로:: 작전:: DecodeRaw

#include <parsing_ops.h>

문자열의 바이트를 숫자 벡터로 재해석합니다.

요약

인수:

  • 범위: 범위 개체
  • bytes: 모든 요소의 길이는 동일해야 합니다.

선택적 속성( Attrs 참조):

  • little_endian: 입력 bytes 가 리틀 엔디안 순서인지 여부. uint8 과 같이 단일 바이트에 저장된 out_type 값은 무시됩니다.

보고:

  • Output : 입력 bytes 보다 차원이 하나 더 많은 텐서 . 추가된 차원은 out_type 을 나타내는 바이트 수로 나눈 bytes 요소의 길이와 동일한 크기를 갖습니다.

생성자와 소멸자

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs)

공개 속성

operation
output

공공 기능

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

공개 정적 함수

LittleEndian (bool x)

구조체

tensorflow:: ops:: DecodeRaw:: 속성

DecodeRaw 에 대한 선택적 속성 설정자.

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type,
  const DecodeRaw::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

리틀엔디안

Attrs LittleEndian(
  bool x
)