tensorflow :: ops :: ParameterizedTruncatedNormal
#include <random_ops.h>
Mengeluarkan nilai acak dari distribusi normal.
Ringkasan
Parameternya masing-masing dapat berupa a
skalar yang berlaku untuk seluruh keluaran, atau vektor bentuk panjang [0] yang menyimpan parameter untuk setiap kelompok.
Argumen:
- scope: Objek Scope
- Bentuk: Bentuk tensor keluaran. Tumpak diindeks oleh dimensi ke-0.
- artinya: Parameter rata-rata setiap batch.
- stdevs: Parameter deviasi standar setiap batch. Harus lebih besar dari 0.
- minimum: Batas minimum. Mungkin -infinity.
- maxvals: Cutoff maksimum. Bisa + tak terhingga, dan harus lebih dari minimum untuk setiap kelompok.
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
: Matriks bentuk num_batches x samples_per_batch, diisi dengan nilai normal terpotong acak menggunakan parameter untuk setiap baris.
Pembuat dan Penghancur | |
---|---|
ParameterizedTruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input means, :: tensorflow::Input stdevs, :: tensorflow::Input minvals, :: tensorflow::Input maxvals) | |
ParameterizedTruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input means, :: tensorflow::Input stdevs, :: tensorflow::Input minvals, :: tensorflow::Input maxvals, const ParameterizedTruncatedNormal::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 :: ParameterizedTruncatedNormal :: Attrs | Penyetel atribut opsional untuk ParameterizedTruncatedNormal . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
ParameterizedTruncatedNormal
ParameterizedTruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input means, ::tensorflow::Input stdevs, ::tensorflow::Input minvals, ::tensorflow::Input maxvals )
ParameterizedTruncatedNormal
ParameterizedTruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input means, ::tensorflow::Input stdevs, ::tensorflow::Input minvals, ::tensorflow::Input maxvals, const ParameterizedTruncatedNormal::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 )