tensorflow:: ops:: ResourceApplyAdadelta

#include <training_ops.h>

'*var' を adadelta スキームに従って更新します。

まとめ

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 テンソルの更新はロックによって保護されます。それ以外の場合は動作は未定義ですが、競合が少なくなる可能性があります。

返品:

コンストラクターとデストラクタ

ResourceApplyAdadelta (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)
ResourceApplyAdadelta (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 ResourceApplyAdadelta::Attrs & attrs)

公開属性

operation

公的機能

operator::tensorflow::Operation () const

パブリック静的関数

UseLocking (bool x)

構造

tensorflow:: ops:: ResourceApplyAdadelta:: Attrs

ResourceApplyAdadeltaのオプション属性セッター。

公開属性

手術

Operation operation

公的機能

リソース適用アダデルタ

 ResourceApplyAdadelta(
  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
)

リソース適用アダデルタ

 ResourceApplyAdadelta(
  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 ResourceApplyAdadelta::Attrs & attrs
)

オペレーター::tensorflow::Operation

 operator::tensorflow::Operation() const 

パブリック静的関数

ロックを使用する

Attrs UseLocking(
  bool x
)