tensör akışı:: operasyon:: DecodeBmp
#include <image_ops.h>
BMP ile kodlanmış bir görüntünün ilk karesinin kodunu bir uint8 tensörüne çözün.
Özet
attr channels
, kodu çözülen görüntü için istenen renk kanalı sayısını belirtir.
Kabul edilen değerler:
- 0: BMP kodlu görüntüdeki kanal sayısını kullanın.
- 3: bir RGB görüntüsü çıktısı alın.
- 4: bir RGBA görüntüsünün çıktısını alın.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- içindekiler: 0-D. BMP kodlu görüntü.
İadeler:
-
Output
: Şekil[height, width, channels]
ile 3 boyutlu . RGB sırası
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 |
Kamu işlevleri | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel statik işlevler | |
---|---|
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
Kamu işlevleri
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::Çıkış
operator::tensorflow::Output() const
Genel statik işlevler
Kanallar
Attrs Channels( int64 x )