tensorflow::ops::ResizeBilinear
#include <image_ops.h> images çift doğrusal enterpolasyon kullanarak istenen size yeniden boyutlandırın.
Özet
Giriş görüntüleri farklı türlerde olabilir, ancak çıkış görüntüleri her zaman float türündedir.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Görüntüler:
[batch, height, width, channels]şeklinde 4 boyutlu. - boyut: = 2 elemanlı 1 boyutlu int32 Tensor :
new_height, new_width. Görüntülerin yeni boyutu.
İsteğe bağlı özellikler (bkz. Attrs ):
- align_corners: Eğer true ise, giriş ve çıkış tensörlerinin 4 köşe pikselinin merkezleri hizalanır ve köşe piksellerindeki değerler korunur. Varsayılan değer false'tur.
İadeler:
-
Output:[batch, new_height, new_width, channels]şeklinde 4 boyutlu.
Yapıcılar ve Yıkıcılar | |
|---|---|
ResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size) | |
ResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBilinear::Attrs & attrs) |
Genel özellikler | |
|---|---|
operation | |
resized_images | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Herkese açık statik fonksiyonlar | |
|---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) | |
Yapılar | |
|---|---|
| tensorflow::ops::ResizeBilinear::Attrs | ResizeBilinear için isteğe bağlı özellik ayarlayıcıları. |
Genel özellikler
operasyon
Operation operation
yeniden boyutlandırılmış_görüntüler
::tensorflow::Output resized_images
Kamusal işlevler
İki boyutlu yeniden boyutlandır
ResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
İki boyutlu yeniden boyutlandır
ResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBilinear::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
Köşeleri Hizala
Attrs AlignCorners( bool x )
YarımPikselMerkezleri
Attrs HalfPixelCenters( bool x )