dòng chảy :: hoạt động :: ResourceApplyAdadelta

#include <training_ops.h>

Cập nhật '* var' theo sơ đồ adadelta.

Tóm lược

Accu = rho () * Accu + (1 - rho ()) * grad.square (); update = (update_accum + epsilon) .sqrt () * (Acc + epsilon ()). rsqrt () * grad; update_accum = rho () * update_accum + (1 - rho ()) * update.square (); var - = cập nhật;

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • var: Phải từ một Biến ().
  • Tích lũy: Phải từ một Biến ().
  • Accu_update: Phải từ một Biến ().
  • lr: Hệ số tỷ lệ. Phải là một vô hướng.
  • rho: Hệ số phân rã. Phải là một vô hướng.
  • epsilon: Hệ số không đổi. Phải là một vô hướng.
  • grad: Độ dốc.

Các thuộc tính tùy chọn (xem Phần Attrs ):

  • use_locking: Nếu True, việc cập nhật hàng chục var, Accu và update_accum sẽ được bảo vệ bằng một khóa; nếu không thì hành vi không được xác định, nhưng có thể ít biểu hiện sự cạnh tranh hơn.

Lợi nhuận:

Người xây dựng và Người phá hủy

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)

Thuộc tính công cộng

operation

Chức năng công cộng

operator::tensorflow::Operation () const

Các chức năng tĩnh công khai

UseLocking (bool x)

Cấu trúc

tensorflow :: ops :: ResourceApplyAdadelta :: Attrs

Bộ thiết lập thuộc tính tùy chọn cho ResourceApplyAdadelta .

Thuộc tính công cộng

hoạt động

Operation operation

Chức năng công cộng

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
)

toán tử :: tensorflow :: Hoạt động

 operator::tensorflow::Operation() const 

Các chức năng tĩnh công khai

UseLocking

Attrs UseLocking(
  bool x
)