def testTwoTemporaryVariablesNoLeaks(self):
    with self.test_session(use_gpu=True):
        var1 = gen_state_ops._temporary_variable([1, 2], dtypes.float32, var_name='var1')
        var2 = gen_state_ops._temporary_variable([1, 2], dtypes.float32, var_name='var2')
        final = (var1 + var2)
        final.eval()
def testTwoTemporaryVariablesNoLeaks(self):
    with self.test_session(use_gpu=True):
        var1 = gen_state_ops._temporary_variable([1, 2], dtypes.float32, var_name='var1')
        var2 = gen_state_ops._temporary_variable([1, 2], dtypes.float32, var_name='var2')
        final = (var1 + var2)
        final.eval()