tensorflow:: ops:: ResourceApplyGradientDescent
#include <training_ops.h>'*var' から 'alpha' * 'delta' を減算して、'*var' を更新します。
まとめ
議論:
- スコープ:スコープオブジェクト
- var: Variable() から取得する必要があります。
- alpha: スケーリング係数。スカラー値である必要があります。
- デルタ:変化量。
オプション属性( Attrs参照):
- use_locking:
Trueの場合、減算はロックによって保護されます。それ以外の場合は動作は未定義ですが、競合が少なくなる可能性があります。
返品:
- 作成された
Operation
コンストラクターとデストラクタ | |
|---|---|
ResourceApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta) | |
ResourceApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
公的機能 | |
|---|---|
operator::tensorflow::Operation () const | |
パブリック静的関数 | |
|---|---|
UseLocking (bool x) | |
構造 | |
|---|---|
| tensorflow:: ops:: ResourceApplyGradientDescent:: Attrs | ResourceApplyGradientDescentのオプション属性セッター。 |
公開属性
手術
Operation operation
公的機能
リソースに勾配降下法を適用する
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
リソースに勾配降下法を適用する
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs )
オペレーター::tensorflow::Operation
operator::tensorflow::Operation() const
パブリック静的関数
ロックを使用する
Attrs UseLocking( bool x )