tensorflow::ops::RandomGamma
#include <random_ops.h>Alfa ile tanımlanan Gama dağılımından rastgele değerler üretir.
Özet
Bu işlem, tekdüze ve normal rastgele değişken çiftlerinden dönüşüm-reddetme yoluyla örneklem elde etmek için Marsaglia ve diğerlerinin algoritmasını kullanır. Bkz. http://dl.acm.org/citation.cfm?id=358414
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- Şekil: 1 boyutlu tamsayı tensörü. Alfa'da verilen şekil parametreleriyle tanımlanan her dağılımdan çekilecek bağımsız örneklerin şekli.
- alfa: Her bir skaler değerinin, ilgili gama dağılımını tanımlayan bir "şekil" parametresi olduğu bir tensör.
İsteğe bağlı özellikler (bkz. Attrs ):
- seed: Eğer
seedveyaseed2sıfırdan farklı bir değere ayarlanırsa, rastgele sayı üreteci verilen seed değeriyle başlatılır. Aksi takdirde, rastgele bir seed değeriyle başlatılır. - seed2: Tohum çakışmasını önlemek için ikinci bir tohum.
İadeler:
-
Output: Şekilshape + shape(alpha)şeklinde bir tensör. Her dilim[:, ..., :, i0, i1, ...iN]alpha[i0, i1, ...iN]için çekilen örnekleri içerir. Çıktının veri türü, alfanın veri türüyle eşleşir.
Yapıcılar ve Yıkıcılar | |
|---|---|
RandomGamma (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input alpha) | |
RandomGamma (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, :: tensorflow::Input alpha, const RandomGamma::Attrs & attrs) |
Genel özellikler | |
|---|---|
operation | |
output | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Herkese açık statik fonksiyonlar | |
|---|---|
Seed (int64 x) | |
Seed2 (int64 x) | |
Yapılar | |
|---|---|
| tensorflow::ops::RandomGamma::Attrs | RandomGamma için isteğe bağlı özellik ayarlayıcıları. |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
RastgeleGamma
RandomGamma( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input alpha )
RastgeleGamma
RandomGamma( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input alpha, const RandomGamma::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Herkese açık statik fonksiyonlar
Tohum
Attrs Seed( int64 x )
Tohum2
Attrs Seed2( int64 x )