tensorflow:: ops:: DestroyTemporaryVariable

#include <state_ops.h>

Destroys the temporary variable and returns its final value.

Summary

Sets output to the value of the Tensor pointed to by 'ref', then destroys the temporary variable called 'var_name'. All other uses of 'ref' must have executed before this op. This is typically achieved by chaining the ref through each assign op, or by using control dependencies.

Outputs the final value of the tensor pointed to by 'ref'.

Args:

  • scope: A Scope object
  • ref: A reference to the temporary variable tensor.
  • var_name: Name of the temporary variable, usually the name of the matching ' TemporaryVariable ' op.

Returns:

Constructors and Destructors

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

Public attributes

operation
value

Public functions

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

Public attributes

operation

Operation operation

value

::tensorflow::Output value

Public functions

DestroyTemporaryVariable

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

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const