Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensör akışı:: operasyon:: ExtractJpegShape

#include <image_ops.h>

JPEG kodlu bir görüntünün şekil bilgilerini ayıklayın.

Özet

Bu işlem yalnızca görüntü başlığını ayrıştırır, bu nedenle DecodeJpeg'den çok daha hızlıdır.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • içindekiler: 0-D. JPEG kodlu görüntü.

İsteğe bağlı özellikler (bkz. Attrs ):

  • output_type: (İsteğe bağlı) İşlemin çıktı türü (int32 veya int64). Varsayılan olarak int32'dir.

İadeler:

  • Output : 1-D. [yükseklik, genişlik, kanallar] biçimindeki görüntü şekli.

Yapıcılar ve Yıkıcılar

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

Genel özellikler

image_shape
operation

Kamu işlevleri

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

Genel statik işlevler

OutputType (DataType x)

yapılar

tensorflow:: ops:: ExtractJpegShape:: Öznitelikler

ExtractJpegShape için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

image_shape

::tensorflow::Output image_shape

operasyon

Operation operation

Kamu işlevleri

ExtractJpegShape

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

ExtractJpegShape

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

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıkış

 operator::tensorflow::Output() const 

Genel statik işlevler

Çıktı Türü

Attrs OutputType(
  DataType x
)