Halaman ini diterjemahkan oleh Cloud Translation API.
Switch to English

tensorflow :: ops :: QuantizedResizeBilinear

#include <image_ops.h>

Ubah ukuran images terkuantisasi menjadi size menggunakan interpolasi bilinear terkuantisasi.

Ringkasan

Gambar masukan dan gambar keluaran harus dikuantisasi jenisnya.

Argumen:

  • scope: Objek Scope
  • gambar: 4-D dengan bentuk [batch, height, width, channels] .
  • size: = A 1-D int32 Tensor dari 2 elemen: new_height, new_width . Ukuran baru untuk gambar.

Atribut opsional (lihat Attrs ):

  • align_corners: Jika true, pusat 4 piksel sudut dari tensor input dan output disejajarkan, mempertahankan nilai di piksel sudut. Default-nya adalah false.

Pengembalian:

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

Pembangun dan Penghancur

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)

Atribut publik

operation
out_max
out_min
resized_images

Fungsi statis publik

AlignCorners (bool x)
HalfPixelCenters (bool x)

Structs

tensorflow :: ops :: QuantizedResizeBilinear :: Attrs

Penyetel atribut opsional untuk QuantizedResizeBilinear .

Atribut publik

operasi

Operation operation
.dll

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

resized_images

::tensorflow::Output resized_images

Fungsi publik

QuantizedResizeBilinear

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

QuantizedResizeBilinear

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

Fungsi statis publik

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)