class_docstr: A hyperparameter in an experiment.
  
  This class describes a hyperparameter in the abstract. It ranges
  over a domain of values, but is not bound to any particular value.
class_docstr_tok: ["A","hyperparameter","in","an","experiment",".","This","class","describes","a","hyperparameter","in","the","abstract",".","It","ranges","over","a","domain","of","values",",","but","is","not","bound","to","any","particular","value","."]
docstr: Create a hyperparameter object.
  
  Args:
    name: A string ID for this hyperparameter, which should be unique
      within an experiment.
    domain: An optional `Domain` object describing the values that
      this hyperparameter can take on.
    display_name: An optional human-readable display name (`str`).
    description: An optional Markdown string describing this
      hyperparameter.
  
  Raises:
    ValueError: If `domain` is not a `Domain`.
docstr_tok: ["Create","a","hyperparameter","object",".","Args",":","name",":","A","string","ID","for","this","hyperparameter",",","which","should","be","unique","within","an","experiment",".","domain",":","An","optional","`","Domain","`","object","describing","the","values","that","this","hyperparameter","can","take","on",".","display_name",":","An","optional","human-readable","display","name","(","`","str","`",")",".","description",":","An","optional","Markdown","string","describing","this","hyperparameter",".","Raises",":","ValueError",":","If","`","domain","`","is","not","a","`","Domain","`","."]
code: def __init__(
      self, name, domain=None, display_name=None, description=None
  ):
      """Create a hyperparameter object.
  
      Args:
        name: A string ID for this hyperparameter, which should be unique
          within an experiment.
        domain: An optional `Domain` object describing the values that
          this hyperparameter can take on.
        display_name: An optional human-readable display name (`str`).
        description: An optional Markdown string describing this
          hyperparameter.
  
      Raises:
        ValueError: If `domain` is not a `Domain`.
      """
      self._name = name
      self._domain = domain
      self._display_name = display_name
      self._description = description
      if not isinstance(self._domain, (Domain, type(None))):
          raise ValueError("not a domain: %r" % (self._domain,))
  
imports: import abc
  import hashlib
  import json
  import random
  import time
  import numpy
  from tensorboard.compat import tf2
  from tensorboard.compat.proto import summary_pb2
  from tensorboard.plugins.hparams import api_pb2
  from tensorboard.plugins.hparams import metadata
  from tensorboard.plugins.hparams import plugin_data_pb2
label_desc: Use image node_id 1 to create a new HParam object  with example: obj = HParam(name, domain, display_name, description)