tensorflow:: ops:: MaxPoolGradGradWithArgmax
#include <nn_ops.h>Oblicza gradienty drugiego rzędu funkcji maxpooling.
Streszczenie
Argumenty:
- zakres: obiekt zakresu
- wejście: Oryginalne wejście.
- Gradient: 4-D z kształtem
[batch, height, width, channels]. Gradienty względem danych wejściowychmax_pool. - argmax: Indeksy maksymalnych wartości wybranych dla każdego wyjścia
max_pool. - ksize: Rozmiar okna dla każdego wymiaru tensora wejściowego.
- kroki: Krok przesuwanego okna dla każdego wymiaru tensora wejściowego.
- padding: Typ algorytmu wypełniania, który ma zostać użyty.
Atrybuty opcjonalne (patrz Attrs ):
- include_batch_in_index: Czy uwzględnić wymiar wsadowy w spłaszczonym indeksie
argmax.
Zwroty:
-
Output: gradienty gradientów względem wejściamax_pool.
Konstruktory i destruktory | |
|---|---|
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) |
Atrybuty publiczne | |
|---|---|
operation | |
output | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Publiczne funkcje statyczne | |
|---|---|
IncludeBatchInIndex (bool x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: MaxPoolGradGradWithArgmax:: Attrs | Opcjonalne settery atrybutów dla MaxPoolGradGradWithArgmax . |
Atrybuty publiczne
działanie
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
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 )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Uwzględnij indeks partii
Attrs IncludeBatchInIndex( bool x )