Tensorflow :: ops :: DepthwiseConv2dNativeBackpropInput
#include <nn_ops.h>
Berechnet die Gradienten der Tiefenfaltung in Bezug auf die Eingabe.
Zusammenfassung
Argumente:
- scope: Ein Scope- Objekt
- input_sizes: Ein ganzzahliger Vektor, der die Form der
input
basierend auf demdata_format
. Wenndata_format
beispielsweise 'NHWC' ist, ist dieinput
ein 4-D-Tensor[batch, height, width, channels]
. - Filter: 4-D mit Form
[filter_height, filter_width, in_channels, depthwise_multiplier]
. - out_backprop: 4-D mit Form basierend auf
data_format
. Wenn dasdata_format
beispielsweise "NHWC" ist, lautet die Form "out_backprop"[batch, out_height, out_width, out_channels]
. Gradienten für die Ausgabe der Faltung. - Schritte: Der Schritt des Schiebefensters für jede Dimension der Eingabe der Faltung.
- padding: Die Art des zu verwendenden Auffüllalgorithmus.
Optionale Attribute (siehe Attrs
):
- Datenformat: Geben Sie das Datenformat der Eingabe- und Ausgabedaten an. Beim Standardformat "NHWC" werden die Daten in der folgenden Reihenfolge gespeichert: [Stapel, Höhe, Breite, Kanäle]. Alternativ könnte das Format "NCHW" sein, die Datenspeicherreihenfolge von: [Stapel, Kanäle, Höhe, Breite].
- Dilatationen: 1-D-Tensor der Länge 4. Der Dilatationsfaktor für jede
input
. Wenn k> 1 eingestellt ist, werden zwischen jedem Filterelement in dieser Dimension k-1 übersprungene Zellen angezeigt. Die Dimensionsreihenfolge wird durch den Wert vondata_format
, siehe oben für Details. Dilatationen in den Chargen- und Tiefenabmessungen müssen 1 sein.
Kehrt zurück:
-
Output
: 4-D mit Form gemäßdata_format
. Wenndata_format
beispielsweise 'NHWC' ist, lautet die Ausgabeform[batch, in_height, in_width, in_channels]
. Gradient für die Eingabe der Faltung.
Konstruktoren und Destruktoren | |
---|---|
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) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
DataFormat (StringPiece x) | |
Dilations (const gtl::ArraySlice< int > & x) |
Strukturen | |
---|---|
tensorflow :: ops :: DepthwiseConv2dNativeBackpropInput :: Attrs | Optionale Attributsetzer für DepthwiseConv2dNativeBackpropInput . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
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 )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
Datei Format
Attrs DataFormat( StringPiece x )
Dilatationen
Attrs Dilations( const gtl::ArraySlice< int > & x )