tensorflow::ops::DecodeBmp

#include <image_ops.h>

BMP formatında kodlanmış bir görüntünün ilk karesini uint8 tensörüne dönüştürün.

Özet

Attr channels çözümlenen görüntü için istenen renk kanalı sayısını gösterir.

Kabul edilen değerler şunlardır:

  • 0: BMP kodlu görüntüdeki kanal sayısını kullanın.
  • 3: Bir RGB görüntüsü oluşturun.
  • 4: RGBA formatında bir görüntü çıktısı alın.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • İçerik: 0-D. BMP kodlu görüntü.

İadeler:

  • Output : [height, width, channels] şeklinde 3 boyutlu görüntü. RGB sıralaması.

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

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

Genel özellikler

image
operation

Kamusal işlevler

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

Herkese açık statik fonksiyonlar

Channels (int64 x)

Yapılar

tensorflow::ops::DecodeBmp::Attrs

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

Genel özellikler

resim

::tensorflow::Output image

operasyon

Operation operation

Kamusal işlevler

DecodeBmp

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

DecodeBmp

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

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Herkese açık statik fonksiyonlar

Kanallar

Attrs Channels(
  int64 x
)