텐서플로우:: ops:: 임시변수 파괴

#include <state_ops.h>

임시 변수를 소멸시키고 최종 값을 반환합니다.

요약

'ref'가 가리키는 텐서 의 값으로 출력을 설정한 다음, 'var_name'이라는 임시 변수를 소멸시킵니다. 이 연산이 실행되기 전에 'ref'를 사용하는 다른 모든 작업이 완료되어야 합니다 . 일반적으로 이는 각 할당 연산에 'ref'를 연결하거나 제어 종속성을 사용하여 구현할 수 있습니다.

'ref'가 가리키는 텐서의 최종 값을 출력합니다.

논거:

  • 범위: Scope 객체
  • ref: 임시 변수 텐서에 대한 참조입니다.
  • var_name: 임시 변수의 이름입니다. 일반적으로 일치하는 ' TemporaryVariable ' 연산의 이름입니다.

보고:

생성자와 소멸자

DestroyTemporaryVariable (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, StringPiece var_name)

공개 속성

operation
value

공공 기능

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

공개 속성

작업

Operation operation

값

::tensorflow::Output value

공공 기능

임시변수 파괴

 DestroyTemporaryVariable(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  StringPiece var_name
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const