tensorflow :: ops :: MaxPoolGradGradWithArgmax
#include <nn_ops.h>
Menghitung gradien orde kedua dari fungsi maxpooling.
Ringkasan
Argumen:
- scope: Objek Scope
- masukan: Masukan asli.
- grad: 4-D dengan bentuk
[batch, height, width, channels]
. Gradien memasukkan input darimax_pool
. - argmax: Indeks nilai maksimum yang dipilih untuk setiap keluaran
max_pool
. - ksize: Ukuran jendela untuk setiap dimensi tensor input.
- langkah: Langkah jendela geser untuk setiap dimensi tensor input.
- padding: Jenis algoritma padding yang akan digunakan.
Atribut opsional (lihat Attrs
):
- include_batch_in_index: Apakah akan menyertakan dimensi batch dalam indeks
argmax
diratakan.
Pengembalian:
-
Output
: Gradien gradien dengan inputmax_pool
.
Pembuat dan Penghancur | |
---|---|
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) |
Structs | |
---|---|
tensorflow :: ops :: MaxPoolGradGradWithArgmax :: Attrs | Penyetel 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 :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
IncludeBatchInIndex
Attrs IncludeBatchInIndex( bool x )