tensor akışı:: işlem:: NicelenmişYeniden BoyutlandırÇift Doğrusal

#include <image_ops.h>

Nicelenmiş çift doğrusal enterpolasyonu kullanarak nicelenmiş images size göre yeniden boyutlandırın.

Özet

Giriş görüntüleri ve çıkış görüntüleri nicelenmiş türlerde olmalıdır.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • görüntüler: şekilli 4-D [batch, height, width, channels] .
  • size: = 2 öğeden oluşan 1 boyutlu bir int32 Tensörü : 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 false olur.

İadeler:

  • Yeniden boyutlandırılan_resimlerin Output : Şekilli 4 boyutlu [batch, new_height, new_width, channels] .
  • Output çıkışı_dak
  • Output

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:: Öznitelikler

QuantizedResizeBilinear için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

yeniden boyutlandırılan_images

::tensorflow::Output resized_images

Kamu işlevleri

NicelenmişYeniden BoyutlandırÇift Doğrusal

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

NicelenmişYeniden BoyutlandırÇift Doğrusal

 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

Köşeleri Hizala

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)