tensorflow :: ops :: RandomNormal
#include <random_ops.h>
Mengeluarkan nilai acak dari distribusi normal.
Ringkasan
Nilai yang dihasilkan akan memiliki mean 0 dan deviasi standar 1.
Argumen:
- scope: Objek Scope
- Bentuk: Bentuk tensor keluaran.
- dtype: Jenis keluaran.
Atribut opsional (lihat Attrs
):
- benih: Jika salah satu
seed
atauseed2
ditetapkan menjadi bukan nol, generator nomor acak disemai oleh benih yang diberikan. Jika tidak, itu diunggulkan dengan benih acak. - seed2: Benih kedua untuk menghindari tumbukan benih.
Pengembalian:
-
Output
: Tensor dengan bentuk tertentu yang diisi dengan nilai normal acak.
Pembangun dan Penghancur | |
---|---|
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomNormal::Attrs & attrs) |
Atribut publik | |
---|---|
operation | |
output |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Fungsi statis publik | |
---|---|
Seed (int64 x) | |
Seed2 (int64 x) |
Structs | |
---|---|
tensorflow :: ops :: RandomNormal :: Attrs | Penyetel atribut opsional untuk RandomNormal . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
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 )
simpul
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Benih
Attrs Seed( int64 x )
Benih2
Attrs Seed2( int64 x )