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'.
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
Output<T> |
asOutput()
Returns the symbolic handle of the tensor.
|
static <T extends TType> DestroyTemporaryVariable<T> | |
Output<T> |
value()
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Public Methods
public Output<T> asOutput ()
Returns the symbolic handle of the tensor.
Inputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
public static DestroyTemporaryVariable<T> create (Scope scope, Operand<T> ref, String varName)
Factory method to create a class wrapping a new DestroyTemporaryVariable operation.
Parameters
scope | current scope |
---|---|
ref | A reference to the temporary variable tensor. |
varName | Name of the temporary variable, usually the name of the matching 'TemporaryVariable' op. |
Returns
- a new instance of DestroyTemporaryVariable