tensorflow:: ops:: ResourceSparseApplyAdagradDA
#include <training_ops.h>'*var' および '*accum' のエントリを、近位アダグラード方式に従って更新します。
まとめ
議論:
- スコープ:スコープオブジェクト
- var: Variable() から取得する必要があります。
- gradient_accumulator: Variable() から取得する必要があります。
- gradient_squared_accumulator: Variable() から取得する必要があります。
- grad: 勾配。
- インデックス: var と accum の第 1 次元へのインデックスのベクトル。
- lr: 学習率。スカラー値である必要があります。
- l1: L1正則化。スカラー値である必要があります。
- l2: L2正則化。スカラー値である必要があります。
- global_step: トレーニングステップ番号。スカラー値である必要があります。
オプション属性( Attrs参照):
- use_locking: Trueの場合、varおよびaccumテンソルの更新はロックによって保護されます。それ以外の場合は動作は未定義ですが、競合が少なくなる可能性があります。
返品:
- 作成された
Operation
構築者と破壊者 | |
|---|---|
ResourceSparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step) | |
ResourceSparseApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input indices, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceSparseApplyAdagradDA::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
公的機能 | |
|---|---|
operator::tensorflow::Operation () const | |
パブリック静的関数 | |
|---|---|
UseLocking (bool x) | |
構造 | |
|---|---|
| tensorflow:: ops:: ResourceSparseApplyAdagradDA:: Attrs | ResourceSparseApplyAdagradDAのオプション属性セッター。 |
公開属性
手術
Operation operation
公的機能
リソーススパース適用アダグラッドDA
ResourceSparseApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step )
リソーススパース適用アダグラッドDA
ResourceSparseApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step, const ResourceSparseApplyAdagradDA::Attrs & attrs )
オペレーター::tensorflow::Operation
operator::tensorflow::Operation() const
パブリック静的関数
ロックを使用する
Attrs UseLocking( bool x )