Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: QuantizedResizeBilinear

#include <image_ops.h>

Nicelleştirilmiş çift doğrusal enterpolasyon kullanarak nicelendirilmiş images size boyutlandırın.

Özet

Girdi görüntüleri ve çıktı görüntüleri nicelleştirilmiş türler olmalıdır.

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • görüntüler: 4-D şekilli [batch, height, width, channels] .
  • boyutu: = int32 bir 1-D Tensörünün 2 elemanlarının: new_height, new_width . Görüntüler için yeni boyut.

İsteğe bağlı özellikler (bkz. Attrs ):

  • align_corners: true ise, giriş ve çıkış tensörlerinin 4 köşe pikselinin merkezleri, köşe piksellerindeki değerler korunarak hizalanır. Varsayılan olarak yanlıştır.

İadeler:

  • Output resized_images: 4-D şekilli [batch, new_height, new_width, channels] .
  • Output out_min
  • Output out_max

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

QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max)
QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max, const QuantizedResizeBilinear::Attrs & attrs)

Genel özellikler

operation
out_max
out_min
resized_images

Genel statik işlevler

AlignCorners (bool x)
HalfPixelCenters (bool x)

Yapılar

tensorflow :: ops :: QuantizedResizeBilinear :: Attrs

QuantizedResizeBilinear için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

operasyon

Operation operation

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

resized_images

::tensorflow::Output resized_images

Kamusal işlevler

QuantizedResizeBilinear

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

QuantizedResizeBilinear

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const QuantizedResizeBilinear::Attrs & attrs
)

Genel statik işlevler

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenterlar

Attrs HalfPixelCenters(
  bool x
)