aliran tensor:: operasi:: ResourceApplyAdadelta

#include <training_ops.h>

Perbarui '*var' sesuai dengan skema adadelta.

Ringkasan

accum = rho() * accum + (1 - rho()) * lulusan.persegi(); pembaruan = (update_accum + epsilon).sqrt() * (accum + epsilon()).rsqrt() * lulusan; update_accum = rho() * update_accum + (1 - rho()) * update.square(); var -= perbarui;

Argumen:

  • ruang lingkup: Objek Lingkup
  • var: Harus dari Variabel().
  • accum: Harus dari Variabel().
  • accum_update: Harus dari Variabel().
  • lr: Faktor penskalaan. Pasti skalar.
  • rho : Faktor peluruhan. Pasti skalar.
  • epsilon: Faktor konstan. Pasti skalar.
  • lulusan: Gradien.

Atribut opsional (lihat Attrs ):

  • use_locking: Jika Benar, pembaruan tensor var, accum, dan update_accum akan dilindungi oleh kunci; jika tidak, perilaku tersebut tidak terdefinisikan, namun mungkin menunjukkan lebih sedikit pertentangan.

Pengembalian:

Konstruktor dan Destruktor

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)

Atribut publik

operation

Fungsi publik

operator::tensorflow::Operation () const

Fungsi statis publik

UseLocking (bool x)

Struktur

tensorflow:: ops:: ResourceApplyAdadelta:: Attrs

Penyetel atribut opsional untuk ResourceApplyAdadelta .

Atribut publik

operasi

Operation operation

Fungsi publik

ResourceApplyAdadelta

 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

 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
)

operator::tensorflow::Operasi

 operator::tensorflow::Operation() const 

Fungsi statis publik

Gunakan Penguncian

Attrs UseLocking(
  bool x
)