텐서플로우:: 작전:: ApplyGradientDescent

#include <training_ops.h>

'*var'에서 'alpha' * 'delta'를 빼서 업데이트합니다.

요약

인수:

  • 범위: 범위 개체
  • var: Variable()에서 가져와야 합니다.
  • 알파: 배율 인수. 스칼라여야 합니다.
  • 델타: 변화.

선택적 속성( Attrs 참조):

  • use_locking: True 이면 빼기가 잠금으로 보호됩니다. 그렇지 않으면 동작이 정의되지 않지만 경합이 덜 나타날 수 있습니다.

보고:

  • Output : "var"과 동일합니다.

생성자와 소멸자

ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta)
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs)

공개 속성

operation
out

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 정적 함수

UseLocking (bool x)

구조체

텐서플로우:: ops:: ApplyGradientDescent:: Attrs

ApplyGradientDescent 의 선택적 속성 설정자입니다.

공개 속성

작업

Operation operation

밖으로

::tensorflow::Output out

공공 기능

ApplyGradientDescent

 ApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta
)

ApplyGradientDescent

 ApplyGradientDescent(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input var,
  ::tensorflow::Input alpha,
  ::tensorflow::Input delta,
  const ApplyGradientDescent::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const 

공개 정적 함수

사용잠금

Attrs UseLocking(
  bool x
)