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

#include <state_ops.h>

'value'를 빼서 'ref'를 업데이트합니다.

요약

이 작업은 업데이트가 완료된 후 "ref"를 출력합니다. 이렇게 하면 재설정 값을 사용해야 하는 작업을 연결하기가 더 쉬워집니다.

인수:

  • 범위: 범위 개체
  • ref: Variable 노드에서 가져와야 합니다.
  • 값: 변수에서 뺄 값입니다.

선택적 속성( Attrs 참조):

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

보고:

  • Output : = "ref"와 동일합니다. 변수가 업데이트된 후 새 값을 사용하려는 작업의 편의를 위해 반환됩니다.

생성자와 소멸자

AssignSub (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value)
AssignSub (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value, const AssignSub::Attrs & attrs)

공개 속성

operation
output_ref

공공 기능

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

공개 정적 함수

UseLocking (bool x)

구조체

텐서플로우:: ops:: AssignSub:: 속성

AssignSub 에 대한 선택적 속성 설정자입니다.

공개 속성

작업

Operation operation

출력_참조

::tensorflow::Output output_ref

공공 기능

AssignSub

 AssignSub(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input value
)

AssignSub

 AssignSub(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input value,
  const AssignSub::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

사용잠금

Attrs UseLocking(
  bool x
)