tensor akışı:: işlem:: KesilmişNormal
#include <random_ops.h>Kesilmiş bir normal dağılımdan rastgele değerler çıkarır.
Özet
Üretilen değerler ortalama 0 ve standart sapma 1 olan normal bir dağılım izler; ancak büyüklüğü ortalamadan 2 standart sapmadan fazla olan değerler düşürülür ve yeniden seçilir.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- şekil: Çıkış tensörünün şekli.
- dtype: Çıktının türü.
 İsteğe bağlı özellikler (bkz. Attrs ):
-  tohum: seedveyaseed2biri sıfırdan farklı olarak ayarlanırsa, rastgele sayı üreteci verilen tohum tarafından tohumlanır. Aksi takdirde rastgele bir tohumla tohumlanır.
- tohum2: Tohum çarpışmasını önlemek için ikinci bir tohum.
İade:
-  Output: Rastgele kesik normal değerlerle doldurulmuş, belirtilen şeklin tensörü.
| Yapıcılar ve Yıkıcılar | |
|---|---|
| TruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
| TruncatedNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const TruncatedNormal::Attrs & attrs) | 
| Genel özellikler | |
|---|---|
| operation | |
| output | |
| Kamu işlevleri | |
|---|---|
| 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:: KesilmişNormal:: Öznitelikler | TruncatedNormal için isteğe bağlı öznitelik ayarlayıcıları. | 
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamu işlevleri
KesilmişNormal
TruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
KesilmişNormal
TruncatedNormal( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const TruncatedNormal::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Tohum
Attrs Seed( int64 x )
Tohum2
Attrs Seed2( int64 x )