tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput
#include <nn_ops.h>Oblicza gradienty splotu głębokościowego względem danych wejściowych.
Streszczenie
Argumenty:
- zakres: obiekt zakresu
- input_sizes: Wektor liczb całkowitych reprezentujący kształt
input, oparty nadata_format. Na przykład, jeślidata_formatto „NHWC”, toinputjest tensorem 4-D[batch, height, width, channels]. - filtr: 4-D o kształcie
[filter_height, filter_width, in_channels, depthwise_multiplier]. - out_backprop: 4-D z kształtem opartym na
data_format. Na przykład, jeślidata_formatto „NHWC”, to out_backprop kształt to[batch, out_height, out_width, out_channels]. Gradienty względem wyniku splotu. - kroki: Krok przesuwanego okna dla każdego wymiaru wejścia splotu.
- padding: Typ algorytmu wypełniania, który ma zostać użyty.
Atrybuty opcjonalne (patrz Attrs ):
- data_format: Określ format danych wejściowych i wyjściowych. W domyślnym formacie „NHWC” dane są przechowywane w kolejności: [partia, wysokość, szerokość, kanały]. Alternatywnie, format może być „NCHW”, czyli w kolejności przechowywania danych: [partia, kanały, wysokość, szerokość].
- Dylatacje: jednowymiarowy tensor o długości 4. Współczynnik dylatacji dla każdego wymiaru danych
input. Jeśli ustawione na k > 1, między każdym elementem filtru w tym wymiarze będzie k-1 pominiętych komórek. Kolejność wymiarów jest określana przez wartośćdata_format, szczegóły powyżej. Dylatacje w wymiarach wsadowych i głębokości muszą wynosić 1.
Zwroty:
-
Output: 4-D z kształtem zgodnym zdata_format. Na przykład, jeślidata_formatto „NHWC”, kształt wyjściowy to[batch, in_height, in_width, in_channels]. Gradient względem wejścia splotu.
Konstruktory i destruktory | |
|---|---|
DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropInput::Attrs & attrs) |
Atrybuty publiczne | |
|---|---|
operation | |
output | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Publiczne funkcje statyczne | |
|---|---|
DataFormat (StringPiece x) | |
Dilations (const gtl::ArraySlice< int > & x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput:: Attrs | Opcjonalne settery atrybutów dla DepthwiseConv2dNativeBackpropInput . |
Atrybuty publiczne
działanie
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
DepthwiseConv2dNativeBackpropInput
DepthwiseConv2dNativeBackpropInput( const ::tensorflow::Scope & scope, ::tensorflow::Input input_sizes, ::tensorflow::Input filter, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding )
DepthwiseConv2dNativeBackpropInput
DepthwiseConv2dNativeBackpropInput( const ::tensorflow::Scope & scope, ::tensorflow::Input input_sizes, ::tensorflow::Input filter, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropInput::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
Format danych
Attrs DataFormat( StringPiece x )
Rozszerzenia
Attrs Dilations( const gtl::ArraySlice< int > & x )