class_docstr: The base hyperparameter optimization object.
class_docstr_tok: ["The","base","hyperparameter","optimization","object","."]
docstr: Return a dict representation of the Parameter object. Used for serialization of the Parameter object.
  
  :return:  dict representation of the object (serialization).
docstr_tok: ["Return","a","dict","representation","of","the","Parameter","object",".","Used","for","serialization","of","the","Parameter","object",".",":","return",":","dict","representation","of","the","object","(","serialization",")","."]
code: def to_dict(self):
      # type: () -> Mapping[str, Union[str, Parameter]]
      """
      Return a dict representation of the Parameter object. Used for serialization of the Parameter object.
  
      :return:  dict representation of the object (serialization).
      """
      serialize = {
          self._class_type_serialize_name: str(self.__class__).split(
              "."
          )[-1][:-2]
      }
      # noinspection PyCallingNonCallable
      serialize.update(
          dict(
              (
                  (k, v.to_dict() if hasattr(v, "to_dict") else v)
                  for k, v in self.__dict__.items()
              )
          )
      )
      return serialize
  
imports: import sys
  from itertools import product
  from random import Random
  from typing import Mapping, Any, Sequence, Optional, Union
label_desc: Use image node_id 4 for calling the Parameter obj's underlying member method code with example usage: obj.to_dict() and returns: serialize