code: def test_variables_in_transform_set_to_none(self):
      mod = snt.Bias()
      f = hk.transform(mod)
      params = f.init(tf.ones([1, 1]))  # Will create `mod.b`.
      self.assertIsNone(mod.b.tensor_value)
      self.assertIsNone(mod.b.initial_tensor_value)
  
      y = f.apply(params, tf.ones([1, 1]))
      self.assertAllEqual(y.numpy(), [[1.0]])
      self.assertIsNone(mod.b.tensor_value)
      self.assertIsNone(mod.b.initial_tensor_value)
  
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 3 for calling the NetworkTest obj's underlying member method code with example usage: obj.test_variables_in_transform_set_to_none() without return types