#include <state_ops.h>
Destroys the temporary variable and returns its final value.
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'.
Arguments:
Returns:
Output
: The value tensor. Constructors and Destructors | |
---|---|
DestroyTemporaryVariable(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, StringPiece var_name) |
Public attributes | |
---|---|
value |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
::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
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/destroy-temporary-variable.html