code: def testSlotsUniqueEager(self):
      with context.eager_mode():
          v1 = resource_variable_ops.ResourceVariable(1.0)
          v2 = resource_variable_ops.ResourceVariable(1.0)
          opt = adam.AdamOptimizer(1.0)
          opt.minimize(lambda: v1 + v2)
          # There should be two non-slot variables, and two unique slot variables
          # for v1 and v2 respectively.
          self.assertEqual(6, len({id(v) for v in opt.variables()}))
  
imports: import numpy
  from tensorflow.python.client import session
  from tensorflow.python.compiler.xla.experimental import xla_sharding
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import indexed_slices
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import ref_variable
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.training import adam
label_desc: Use image node_id 13 for calling the AdamOptimizerTest obj's underlying member method code with example usage: obj.testSlotsUniqueEager() without return types