Tensorflow :: ops :: RandomNormal
#include <random_ops.h>
Gibt zufällige Werte aus einer Normalverteilung aus.
Zusammenfassung
Die generierten Werte haben den Mittelwert 0 und die Standardabweichung 1.
Argumente:
- scope: Ein Scope- Objekt
- Form: Die Form des Ausgangstensors.
- dtype: Der Typ der Ausgabe.
Optionale Attribute (siehe Attrs
):
- Samen: Wenn entweder
seed
oderseed2
eingestellt sind ungleich Null zu sein, der Zufallszahlengenerator durch den gegebenen Samen ausgesät wird. Andernfalls wird es durch einen zufälligen Startwert ausgesät. - seed2: Ein zweiter Samen, um eine Samenkollision zu vermeiden.
Kehrt zurück:
-
Output
: Ein Tensor der angegebenen Form, gefüllt mit zufälligen Normalwerten.
Konstruktoren und Destruktoren | |
---|---|
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomNormal::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
Seed (int64 x) | |
Seed2 (int64 x) |
Strukturen | |
---|---|
tensorflow :: ops :: RandomNormal :: Attrs | Optionale Attributsetzer für RandomNormal . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
RandomNormal
RandomNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
RandomNormal
RandomNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const RandomNormal::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
Samen
Attrs Seed( int64 x )
Seed2
Attrs Seed2( int64 x )