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