docstr: Different variable types.
docstr_tok: ["Different","variable","types","."]
code: def testParseValuesWithIndexAssigment5(self):
      """Different variable types."""
      parse_dict = hparam.parse_values(
          "a[0]=5,b[1]=true,c[2]=abc,d[3]=3.14",
          {"a": int, "b": bool, "c": str, "d": float},
      )
      self.assertEqual(set(parse_dict.keys()), {"a", "b", "c", "d"})
      self.assertIsInstance(parse_dict["a"], dict)
      self.assertDictEqual(parse_dict["a"], {0: 5})
      self.assertIsInstance(parse_dict["b"], dict)
      self.assertDictEqual(parse_dict["b"], {1: True})
      self.assertIsInstance(parse_dict["c"], dict)
      self.assertDictEqual(parse_dict["c"], {2: "abc"})
      self.assertIsInstance(parse_dict["d"], dict)
      self.assertDictEqual(parse_dict["d"], {3: 3.14})
  
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 18 for calling the HParamsTest obj's underlying member method code with example usage: obj.testParseValuesWithIndexAssigment5() without return types