tensorflow :: ops :: Rastgele
#include <random_ops.h>
Düzgün bir dağılımdan rastgele değerler verir.
Özet
Üretilen değerler [0, 1)
aralığında tekdüze bir dağılımı takip eder. Alt sınır 0, aralığa dahil edilirken üst sınır 1 hariç tutulur.
Argümanlar:
- kapsam: Bir Scope nesnesi
- şekil: Çıkış tensörünün şekli.
- dtype: Çıktının türü.
İsteğe bağlı özellikler (bkz. Attrs
):
- seed:
seed
veyaseed2
sıfırdan farklı olacak şekilde ayarlanmışsa, rastgele sayı oluşturucu verilen tohum tarafından tohumlanır. Aksi takdirde, rastgele bir tohumla tohumlanır. - seed2: Tohum çarpışmasını önlemek için ikinci bir tohum.
İadeler:
-
Output
: Tek tip rasgele değerlerle doldurulmuş, belirtilen şeklin tensörü.
Yapıcılar ve Yıkıcılar | |
---|---|
RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
RandomUniform (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomUniform::Attrs & attrs) |
Genel özellikler | |
---|---|
operation | |
output |
Kamusal işlevler | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel statik işlevler | |
---|---|
Seed (int64 x) | |
Seed2 (int64 x) |
Yapılar | |
---|---|
tensorflow :: ops :: RandomUniform :: Attrs | RandomUniform için isteğe bağlı öznitelik belirleyiciler. |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
Rastgele
RandomUniform( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Rastgele
RandomUniform( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const RandomUniform::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Tohum
Attrs Seed( int64 x )
Tohum2
Attrs Seed2( int64 x )