code: def test_attributes_do_not_notify(self):
      with hk.variables():
          v = tf.Variable(1.0)
          s = tf.Variable(1.0, trainable=False)
  
      def f():
          for c in (v, s):
              self.assertIsNotNone(c.shape)
              self.assertIsNotNone(c.dtype)
              self.assertIsNotNone(c.trainable)
              self.assertIsNotNone(c.name)
              self.assertIsNotNone(c.device)
  
      f = hk.transform_with_state(f)
      params, state = f.init()
      self.assertEmpty(params)
      self.assertEmpty(state)
  
      out, state = f.apply(params, state)
      self.assertIsNone(out)
      self.assertEmpty(state)
  
imports: from absl.testing import parameterized
  import sonnet
  from sonnet.src import test_utils
  from sonnet.src.functional import haiku
  import tensorflow
  import tree
label_desc: Use image node_id 7 for calling the TensorVariableTest obj's underlying member method code with example usage: obj.test_attributes_do_not_notify() without return types