tensorflow::ops::ResizeBicubic

#include <image_ops.h>

images bikübik 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

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

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::ResizeBicubic::Attrs

ResizeBicubic 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

ResizeBicubic

 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size
)

ResizeBicubic

 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::Çıktı

 operator::tensorflow::Output() const 

Herkese açık statik fonksiyonlar

Köşeleri Hizala

Attrs AlignCorners(
  bool x
)

YarımPikselMerkezleri

Attrs HalfPixelCenters(
  bool x
)