class_docstr: Class providing the core functionality of a parameter, aka
  value, internal/model parameters, mutation, recombination
  and additional features such as shared random state,
  constraint check, hashes, generation and naming.
  The value field should sent to the function to optimize.
  
  Example
  -------
  >>> ng.p.Array(shape=(2,)).value
  array([0., 0.])
code: def __init__(self) -> None:
      # Main features
      super().__init__()
      self.tabu_congruence: tp.Any = default_congruence
      self.tabu_fails = 0
      self._subobjects = utils.Subobjects(
          self, base=Parameter, attribute="__dict__"
      )  # registers and apply functions too all (sub-)Parameter attributes
      self.tabu_length = 0
      self.tabu_set: tp.Set[tp.Any] = set()
      self.tabu_list: tp.List[tp.Any] = []
      self.tabu_index = 0
      self.parents_uids: tp.List[str] = []
      self.heritage: tp.Dict[tp.Hashable, tp.Any] = {
          "lineage": self.uid
      }  # passed through to children
      self.loss: tp.Optional[float] = None  # associated loss
      self._losses: tp.Optional[
          np.ndarray
      ] = None  # associated losses (multiobjective) as an array
      self._dimension: tp.Optional[int] = None
      # Additional convenient features
      self._random_state: tp.Optional[
          np.random.RandomState
      ] = None  # lazy initialization
      self._generation = 0
      self._constraint_checkers: tp.List[
          tp.Callable[[tp.Any], tp.Union[bool, float]]
      ] = []
      self._name: tp.Optional[str] = None
      self._frozen = False
      self._meta: tp.Dict[
          tp.Hashable, tp.Any
      ] = {}  # for anything algorithm related
      self.function = utils.FunctionInfo()
  
imports: import uuid
  import warnings
  import numpy
  import nevergrad.common.typing
  from nevergrad.common import errors
  from .None import utils
  from ._layering import ValueProperty
  from ._layering import Layered
  from ._layering import Level
label_desc: Use image node_id 1 to create a new Parameter object from inherited base classes: Layered with example: obj = Parameter()