code: def testMemoryLeakAnonymousVariable(self):
      if not memory_test_util.memory_profiler_is_available():
          self.skipTest("memory_profiler required to run this test")
  
      def f():
          inputs = Variable(array_ops.zeros([32, 100], dtypes.float32))
          del inputs
  
      memory_test_util.assert_no_leak(
          f, num_iters=10000, increase_threshold_absolute_mb=10
      )
  
file_path: tensorflow/tensorflow/python/eager/memory_tests/memory_test.py
imports: from tensorflow.python.eager import backprop
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import test
  from tensorflow.python.eager.memory_tests import memory_test_util
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradients
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.variables import Variable
label_desc: Use image node_id 1 for calling the MemoryTest obj's underlying member method code with example usage: obj.testMemoryLeakAnonymousVariable() without return types