テンソルフロー::作戦::適用GradientDescent
#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
公共機能
適用GradientDescent
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
適用GradientDescent
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
ロックを使用する
Attrs UseLocking( bool x )