aliran tensor:: operasi:: Ubah ukuranBilinear
#include <image_ops.h> Ubah ukuran images ke size menggunakan interpolasi bilinear.
Ringkasan
Gambar masukan bisa bermacam-macam jenisnya tetapi gambar keluaran selalu mengambang.
Argumen:
- ruang lingkup: Objek Lingkup
-  gambar: 4-D dengan bentuk [batch, height, width, channels].
-  size: = Tensor 1-D int32 dari 2 elemen: new_height, new_width. Ukuran baru untuk gambar.
 Atribut opsional (lihat Attrs ):
- align_corners: Jika benar, bagian tengah dari 4 piksel sudut tensor masukan dan keluaran akan sejajar, mempertahankan nilai pada piksel sudut. Defaultnya salah.
Pengembalian:
-  Output: 4-D dengan bentuk[batch, new_height, new_width, channels].
| Konstruktor dan Destruktor | |
|---|---|
| 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) | 
| Atribut publik | |
|---|---|
| operation | |
| resized_images | |
| Fungsi publik | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Fungsi statis publik | |
|---|---|
| AlignCorners (bool x) | |
| HalfPixelCenters (bool x) | |
| Struktur | |
|---|---|
| tensorflow:: ops:: Ubah ukuranBilinear:: Attrs | Penyetel atribut opsional untuk ResizeBilinear . | 
Atribut publik
operasi
Operation operation
diubah ukurannya_gambar
::tensorflow::Output resized_images
Fungsi publik
Ubah ukuranBilinear
ResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
Ubah ukuranBilinear
ResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBilinear::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Sejajarkan Sudut
Attrs AlignCorners( bool x )
HalfPixelCenters
Attrs HalfPixelCenters( bool x )