def testTemporaryVariableNoLeak(self):
    with self.test_session(use_gpu=True):
        var = gen_state_ops._temporary_variable([1, 2], dtypes.float32, var_name='bar')
        final = array_ops.identity(var)
        final.eval()
def testTemporaryVariableNoLeak(self):
    with self.test_session(use_gpu=True):
        var = gen_state_ops._temporary_variable([1, 2], dtypes.float32, var_name='bar')
        final = array_ops.identity(var)
        final.eval()