tensorflow:: ops:: RandomNormal
#include <random_ops.h>Zwraca losowe wartości z rozkładu normalnego.
Streszczenie
Wygenerowane wartości będą miały średnią równą 0 i odchylenie standardowe 1.
Argumenty:
- zakres: obiekt zakresu
- kształt: Kształt tensora wyjściowego.
- dtype: Typ wyjścia.
Atrybuty opcjonalne (patrz Attrs ):
- seed: Jeśli albo
seed, alboseed2są ustawione na wartość różną od zera, generator liczb losowych jest zasiewany na podstawie podanego seeda. W przeciwnym razie jest zasiewany na podstawie ziarna losowego. - seed2: Drugie nasiono zapobiegające kolizji nasion.
Zwroty:
-
Output: Tensor o określonym kształcie wypełniony losowymi wartościami normalnymi.
Konstruktory i destruktory | |
|---|---|
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomNormal::Attrs & attrs) |
Atrybuty publiczne | |
|---|---|
operation | |
output | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Publiczne funkcje statyczne | |
|---|---|
Seed (int64 x) | |
Seed2 (int64 x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: RandomNormal:: Attrs | Opcjonalne settery atrybutów dla RandomNormal . |
Atrybuty publiczne
działanie
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
LosowoNormalny
RandomNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
LosowoNormalny
RandomNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const RandomNormal::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
Nasienie
Attrs Seed( int64 x )
Seed2
Attrs Seed2( int64 x )