aliran tensor:: operasi:: AcakNormal
#include <random_ops.h>Menghasilkan nilai acak dari distribusi normal.
Ringkasan
Nilai yang dihasilkan akan memiliki rata-rata 0 dan deviasi standar 1.
Argumen:
- ruang lingkup: Objek Lingkup
- bentuk : Bentuk tensor keluaran.
- dtype: Jenis keluaran.
 Atribut opsional (lihat Attrs ):
-  seed: Jika salah satu seedatauseed2disetel bukan nol, pembuat angka acak akan diunggulkan berdasarkan seed yang diberikan. Jika tidak, ia akan diunggulkan dengan benih acak.
- seed2: Seed kedua untuk menghindari tabrakan seed.
Pengembalian:
-  Output: Tensor dengan bentuk tertentu yang diisi dengan nilai normal acak.
| Konstruktor dan Destruktor | |
|---|---|
| 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) | |
| Struktur | |
|---|---|
| tensorflow:: ops:: RandomNormal:: Attrs | Penyetel atribut opsional untuk RandomNormal . | 
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
AcakNormal
RandomNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
AcakNormal
RandomNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const RandomNormal::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Benih
Attrs Seed( int64 x )
Benih2
Attrs Seed2( int64 x )