tensorflow::ops::MaxPoolGradGradWithArgmax
#include <nn_ops.h>Menghitung gradien orde kedua dari fungsi maxpooling.
Ringkasan
Argumen:
- Cakupan: Objek Cakupan
- input: Input asli.
- grad: 4-D dengan bentuk
[batch, height, width, channels]. Gradien terhadap inputmax_pool. - argmax: Indeks nilai maksimum yang dipilih untuk setiap output dari
max_pool. - ksize: Ukuran jendela untuk setiap dimensi tensor input.
- strides: Langkah jendela geser untuk setiap dimensi tensor input.
- padding: Jenis algoritma padding yang akan digunakan.
Atribut opsional (lihat Attrs ):
- include_batch_in_index: Apakah dimensi batch akan disertakan dalam indeks yang diratakan dari
argmax.
Mengembalikan:
-
Output: Gradien dari gradien terhadap inputmax_pool.
Konstruktor dan Destruktor | |
|---|---|
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs) |
Atribut publik | |
|---|---|
operation | |
output | |
Fungsi publik | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Fungsi statis publik | |
|---|---|
IncludeBatchInIndex (bool x) | |
Struktur | |
|---|---|
| tensorflow::ops::MaxPoolGradGradWithArgmax::Attrs | Pengaturan atribut opsional untuk MaxPoolGradGradWithArgmax . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPoolGradGradWithArgmax
MaxPoolGradGradWithArgmax( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input grad, ::tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Fungsi statis publik
SertakanBatchDalamIndeks
Attrs IncludeBatchInIndex( bool x )