tensorflow :: ops :: MaxPoolGradGradWithArgmax
#include <nn_ops.h>
Oblicza gradienty drugiego rzędu funkcji maxpooling.
streszczenie
Argumenty:
- zakres: obiekt Scope
- wejście: oryginalne wejście.
- grad: 4-D z kształtem
[batch, height, width, channels]
. Gradienty na wejściumax_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 dopełniania, który ma być używany.
Atrybuty opcjonalne (patrz Attrs
):
- include_batch_in_index: czy uwzględnić wymiar partii w spłaszczonym indeksie
argmax
.
Zwroty:
-
Output
: Gradienty gradientów na wejściumax_pool
.
Konstruktorzy i niszczyciele | |
---|---|
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 metody ustawiające atrybuty dla MaxPoolGradGradWithArgmax . |
Atrybuty publiczne
operacja
Operation operation
wynik
::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
IncludeBatchInIndex
Attrs IncludeBatchInIndex( bool x )