code: def testSetHParam(self):
      hparams = hparam.HParams(aaa=1, b=2.0, c_c="relu6", d=True)
      self.assertDictEqual(
          {"aaa": 1, "b": 2.0, "c_c": "relu6", "d": True},
          hparams.values(),
      )
      self.assertEqual(1, hparams.aaa)
      self.assertEqual(2.0, hparams.b)
      self.assertEqual("relu6", hparams.c_c)
  
      hparams.set_hparam("aaa", 12)
      hparams.set_hparam("b", 3.0)
      hparams.set_hparam("c_c", "relu4")
      hparams.set_hparam("d", False)
      self.assertDictEqual(
          {"aaa": 12, "b": 3.0, "c_c": "relu4", "d": False},
          hparams.values(),
      )
      self.assertEqual(12, hparams.aaa)
      self.assertEqual(3.0, hparams.b)
      self.assertEqual("relu4", hparams.c_c)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.utils import hparam
  import tensorflow.compat.v1
label_desc: Use image node_id 28 for calling the HParamsTest obj's underlying member method code with example usage: obj.testSetHParam() without return types