tensorflow:: ops:: ParameterizedTruncatedNormal
#include <random_ops.h>正規分布からランダムな値を出力します。
まとめ
パラメータはそれぞれ
出力全体に適用されるスカラー値、または各バッチのパラメータを格納する長さ shape[0] のベクトル。
議論:
- スコープ:スコープオブジェクト
- shape: 出力テンソルの形状。バッチは0次元目からインデックス付けされます。
- 意味: 各バッチの平均パラメータ。
- stdevs: 各バッチの標準偏差パラメータ。0より大きい値である必要があります。
- minvals: 最小カットオフ値。-∞ も指定可能。
- maxvals: 最大カットオフ値。+無限大にすることもでき、各バッチのminvalよりも大きくなければなりません。
オプション属性( Attrs参照):
- seed:
seedまたはseed2いずれかがゼロ以外の値に設定されている場合、乱数生成器は指定されたシード値で初期化されます。それ以外の場合は、ランダムなシード値で初期化されます。 - seed2: シードの衝突を避けるための2つ目のシード。
返品:
-
Output:num_batches x samples_per_batch の形状の行列。各行は、指定されたパラメータを使用してランダムに切り捨てられた正規値で埋められます。
コンストラクターとデストラクタ | |
|---|---|
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) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
Seed (int64 x) | |
Seed2 (int64 x) | |
構造 | |
|---|---|
| tensorflow:: ops:: ParameterizedTruncatedNormal:: Attrs | ParameterizedTruncatedNormalのオプション属性セッター。 |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
パラメータ化された切り捨て正規分布
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 )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
シード
Attrs Seed( int64 x )
シード2
Attrs Seed2( int64 x )