テンソルフロー::作戦::ランダム通常
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
#include <random_ops.h>
正規分布からランダムな値を出力します。
まとめ
生成された値の平均は 0、標準偏差は 1 になります。
引数:
- スコープ:スコープオブジェクト
- 形状: 出力テンソルの形状。
- dtype: 出力のタイプ。
オプションの属性 ( Attrs
を参照):
- シード:
seed
またはseed2
いずれかが 0 以外に設定されている場合、乱数ジェネレーターには指定されたシードがシードされます。それ以外の場合は、ランダム シードによってシードされます。 - シード2: シードの衝突を避けるための 2 番目のシード。
戻り値:
-
Output
: ランダムな正規値で満たされた、指定された形状のテンソル。
コンストラクターとデストラクター | |
---|---|
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
RandomNormal (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const RandomNormal::Attrs & attrs) |
公共機能 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
構造体 | |
---|---|
tensorflow:: ops:: RandomNormal:: Attrs | RandomNormalのオプションの属性セッター。 |
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
ランダム通常
RandomNormal(
const ::tensorflow::Scope & scope,
::tensorflow::Input shape,
DataType dtype
)
ランダム通常
RandomNormal(
const ::tensorflow::Scope & scope,
::tensorflow::Input shape,
DataType dtype,
const RandomNormal::Attrs & attrs
)