텐서플로우:: 작전:: ExtractJpeg모양

#include <image_ops.h>

JPEG로 인코딩된 이미지의 모양 정보를 추출합니다.

요약

이 작업은 이미지 헤더만 구문 분석하므로 DecodeJpeg 보다 훨씬 빠릅니다.

인수:

  • 범위: 범위 개체
  • 내용: 0-D. JPEG로 인코딩된 이미지입니다.

선택적 속성( Attrs 참조):

  • output_type: (선택 사항) 작업의 출력 유형(int32 또는 int64)입니다. 기본값은 int32입니다.

보고:

  • Output : 1D. [높이, 너비, 채널] 형식의 이미지 모양입니다.

생성자와 소멸자

ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents)
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs)

공개 속성

image_shape
operation

공공 기능

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

공개 정적 함수

OutputType (DataType x)

구조체

텐서플로우:: ops:: ExtractJpegShape:: 속성

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

공개 속성

이미지_모양

::tensorflow::Output image_shape

작업

Operation operation

공공 기능

ExtractJpeg모양

 ExtractJpegShape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents
)

ExtractJpeg모양

 ExtractJpegShape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents,
  const ExtractJpegShape::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

출력 유형

Attrs OutputType(
  DataType x
)