tensör akışı:: operasyon:: Yeniden BoyutlandırBikübik
#include <image_ops.h>
Bikübik enterpolasyon kullanarak images
yeniden size
.
Özet
Girdi görüntüleri farklı türlerde olabilir, ancak çıktı görüntüleri her zaman yüzer haldedir.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- görüntüler: Şekilli 4-D
[batch, height, width, channels]
. - size: = 1 boyutlu bir int32 2 elemanlı Tensör :
new_height, new_width
. Resimler için yeni boyut.
İsteğe bağlı özellikler (bkz. Attrs
):
- align_corners: Doğruysa, giriş ve çıkış tensörlerinin 4 köşe pikselinin merkezleri, köşe piksellerindeki değerler korunarak hizalanır. Varsayılan olarak false olur.
İadeler:
-
Output
:[batch, new_height, new_width, channels]
şeklinde 4-D .
Yapıcılar ve Yıkıcılar | |
---|---|
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size) | |
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBicubic::Attrs & attrs) |
Genel özellikler | |
---|---|
operation | |
resized_images |
Kamu işlevleri | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel statik işlevler | |
---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) |
yapılar | |
---|---|
tensorflow:: ops:: ResizeBicubic:: Attrs | ResizeBicubic için isteğe bağlı öznitelik ayarlayıcılar. |
Genel özellikler
operasyon
Operation operation
resize_images
::tensorflow::Output resized_images
Kamu işlevleri
Yeniden BoyutlandırBikübik
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
Yeniden BoyutlandırBikübik
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBicubic::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
Köşeleri Hizala
Attrs AlignCorners( bool x )
Yarım PikselMerkezler
Attrs HalfPixelCenters( bool x )