Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: ResourceApplyAdagradDA

#include <training_ops.h>

근위 adagrad 체계에 따라 '* var'를 업데이트합니다.

요약

인수 :

  • 범위 : 범위 개체
  • var : Variable ()에서 가져와야합니다.
  • gradient_accumulator : Variable ()에서 가져와야합니다.
  • gradient_squared_accumulator : Variable ()에서 가져와야합니다.
  • grad : 그래디언트입니다.
  • lr : 배율. 스칼라 여야합니다.
  • l1 : L1 정규화. 스칼라 여야합니다.
  • l2 : L2 정규화. 스칼라 여야합니다.
  • global_step : 교육 단계 번호. 스칼라 여야합니다.

선택적 속성 ( Attrs 참조) :

  • use_locking : True이면 var 및 accum 텐서의 업데이트는 잠금으로 보호됩니다. 그렇지 않으면 동작이 정의되지 않지만 경합이 적을 수 있습니다.

보고:

생성자와 소멸자

ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step)
ResourceApplyAdagradDA (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input gradient_accumulator, :: tensorflow::Input gradient_squared_accumulator, :: tensorflow::Input grad, :: tensorflow::Input lr, :: tensorflow::Input l1, :: tensorflow::Input l2, :: tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs)

공용 속성

operation

공공 기능

operator::tensorflow::Operation () const

공개 정적 함수

UseLocking (bool x)

구조체

tensorflow :: ops :: ResourceApplyAdagradDA :: Attrs

ResourceApplyAdagradDA에 대한 선택적 속성 설정자.

공용 속성

조작

Operation operation

공공 기능

ResourceApplyAdagradDA

 ResourceApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step
)

ResourceApplyAdagradDA

 ResourceApplyAdagradDA(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input gradient_accumulator,
  ::tensorflow::Input gradient_squared_accumulator,
  ::tensorflow::Input grad,
  ::tensorflow::Input lr,
  ::tensorflow::Input l1,
  ::tensorflow::Input l2,
  ::tensorflow::Input global_step,
  const ResourceApplyAdagradDA::Attrs & attrs
)

operator :: tensorflow :: Operation

 operator::tensorflow::Operation() const 

공개 정적 함수

사용 잠금

Attrs UseLocking(
  bool x
)