tensorflow :: ops :: ApplyAdadelta
#include <training_ops.h>
adadeltaスキームに従って「* var」を更新します。
概要
accum = rho()* accum +(1-rho())* grad.square(); update =(update_accum + epsilon).sqrt()*(accum + epsilon())。rsqrt()* grad; update_accum = rho()* update_accum +(1-rho())* update.square(); var- =更新;
引数:
- スコープ:スコープオブジェクト
- var:Variable()からのものである必要があります。
- accum:Variable()からのものである必要があります。
- accum_update:Variable()からのものである必要があります。
- lr:スケーリング係数。スカラーである必要があります。
- rho:減衰係数。スカラーである必要があります。
- イプシロン:定数係数。スカラーである必要があります。
- grad:グラデーション。
オプションの属性(参照Attrs
):
- use_locking:Trueの場合、var、accum、update_accumテンソルの更新はロックによって保護されます。それ以外の場合、動作は定義されていませんが、競合が少なくなる可能性があります。
戻り値:
-
Output
:「var」と同じ。
コンストラクタとデストラクタ | |
---|---|
ApplyAdadelta (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input accum_update, :: tensorflow::Input lr, :: tensorflow::Input rho, :: tensorflow::Input epsilon, :: tensorflow::Input grad) | |
ApplyAdadelta (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input accum, :: tensorflow::Input accum_update, :: tensorflow::Input lr, :: tensorflow::Input rho, :: tensorflow::Input epsilon, :: tensorflow::Input grad, const ApplyAdadelta::Attrs & attrs) |
パブリック属性 | |
---|---|
operation | |
out |
公の行事 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
パブリック静的関数 | |
---|---|
UseLocking (bool x) |
構造体 | |
---|---|
tensorflow :: ops :: ApplyAdadelta :: Attrs | ApplyAdadeltaのオプションの属性セッター。 |
パブリック属性
操作
Operation operation
でる
::tensorflow::Output out
公の行事
ApplyAdadelta
ApplyAdadelta( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input accum, ::tensorflow::Input accum_update, ::tensorflow::Input lr, ::tensorflow::Input rho, ::tensorflow::Input epsilon, ::tensorflow::Input grad )
ApplyAdadelta
ApplyAdadelta( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input accum, ::tensorflow::Input accum_update, ::tensorflow::Input lr, ::tensorflow::Input rho, ::tensorflow::Input epsilon, ::tensorflow::Input grad, const ApplyAdadelta::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 )