Tensorflow :: ops :: MaxPool
#include <nn_ops.h>
Führt ein maximales Pooling für die Eingabe durch.
Zusammenfassung
Argumente:
- scope: Ein Scope- Objekt
- Eingang: 4-D-Eingang zum Pooling.
- ksize: Die Größe des Fensters für jede Dimension des Eingangstensors.
- Schritte: Der Schritt des Schiebefensters für jede Dimension des Eingangstensors.
- padding: Die Art des zu verwendenden Auffüllalgorithmus.
Optionale Attribute (siehe Attrs
):
- Datenformat: Geben Sie das Datenformat der Eingabe- und Ausgabedaten an. Mit dem Standardformat "NHWC" werden die Daten in der Reihenfolge gespeichert: [Batch, In_Höhe, In_Breite, In_Kanäle]. Alternativ könnte das Format "NCHW" sein, die Datenspeicherreihenfolge von: [batch, in_channels, in_height, in_width].
Kehrt zurück:
-
Output
: Der maximal gepoolte Ausgangstensor.
Konstruktoren und Destruktoren | |
---|---|
MaxPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
MaxPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool::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) |
Strukturen | |
---|---|
tensorflow :: ops :: MaxPool :: Attrs | Optionale Attributsetzer für MaxPool . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
MaxPool
MaxPool( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
MaxPool
MaxPool( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool::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 )