Tensorflow :: ops :: BiasAdd
#include <nn_ops.h>
Fügt dem value
bias
.
Zusammenfassung
Dies ist ein Sonderfall von tf.add
bei dem die bias
auf 1-D beschränkt ist. Broadcasting wird unterstützt, daher kann der value
eine beliebige Anzahl von Dimensionen haben.
Argumente:
- scope: Ein Scope- Objekt
- Wert: Beliebig viele Dimensionen.
- Bias: 1-D mit Größe die letzte Dimension des
value
.
Optionale Attribute (siehe Attrs
):
- Datenformat: Geben Sie das Datenformat der Eingabe- und Ausgabedaten an. Mit dem Standardformat "NHWC" wird der Bias-Tensor zur letzten Dimension des Wertetensors hinzugefügt. Alternativ könnte das Format "NCHW" sein, die Datenspeicherreihenfolge von: [batch, in_channels, in_height, in_width]. Der Tensor wird zu "in_channels", der drittletzten Dimension, hinzugefügt.
Kehrt zurück:
-
Output
: Ausstrahlung vonvalue
undbias
.
Konstruktoren und Destruktoren | |
---|---|
BiasAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input value, :: tensorflow::Input bias) | |
BiasAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input value, :: tensorflow::Input bias, const BiasAdd::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 :: BiasAdd :: Attrs | Optionale Attributsetzer für BiasAdd . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
BiasAdd
BiasAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input value, ::tensorflow::Input bias )
BiasAdd
BiasAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input value, ::tensorflow::Input bias, const BiasAdd::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 )