tensorflow :: ops :: ApplyAdagradDA
#include <training_ops.h>
近位アダグラードスキームに従って「* var」を更新します。
概要
引数:
- スコープ:スコープオブジェクト
- var:Variable()からのものである必要があります。
- gradient_accumulator:Variable()からのものである必要があります。
- gradient_squared_accumulator:Variable()からのものである必要があります。
- grad:グラデーション。
- lr:スケーリング係数。スカラーである必要があります。
- l1:L1正則化。スカラーである必要があります。
- l2:L2正則化。スカラーである必要があります。
- global_step:トレーニングステップ番号。スカラーである必要があります。
オプションの属性(参照Attrs
):
- use_locking:Trueの場合、varテンソルとaccumテンソルの更新はロックによって保護されます。それ以外の場合、動作は定義されていませんが、競合が少なくなる可能性があります。
戻り値:
-
Output
:「var」と同じ。
コンストラクタとデストラクタ | |
---|---|
ApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step) | |
ApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ApplyAdagradDA::Attrs & attrs) |
パブリック属性 | |
---|---|
operation | |
out |
公の行事 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
パブリック静的関数 | |
---|---|
UseLocking (bool x) |
構造体 | |
---|---|
tensorflow :: ops :: ApplyAdagradDA :: Attrs | ApplyAdagradDAのオプションの属性セッター。 |
パブリック属性
操作
Operation operation
でる
::tensorflow::Output out
公の行事
ApplyAdagradDA
ApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step )
ApplyAdagradDA
ApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step, const ApplyAdagradDA::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
パブリック静的関数
UseLocking
Attrs UseLocking( bool x )