class_docstr: Parameter-like object for simplifying management of constant parameters:
  mutation/recombination do nothing, value cannot be changed, standardize data is an empty array,
  child is the same instance.
  
  Parameter
  ---------
  value: Any
      the value that this parameter will always provide
class_docstr_tok: ["Parameter-like","object","for","simplifying","management","of","constant","parameters",":","mutation\/recombination","do","nothing",",","value","can","not","be","changed",",","standardize","data","is","an","empty","array",",","child","is","the","same","instance",".","Parameter","--","--","--","--","-","value",":","Any","the","value","that","this","parameter","will","always","provide"]
code: def _layered_set_value(self, value: tp.Any) -> None:
      different = False
      if isinstance(value, np.ndarray):
          if not np.equal(value, self._value).all():
              different = True
      elif not (value == self._value or value is self._value):
          different = True
      if different:
          raise ValueError(
              f'Constant value can only be updated to the same value (in this case "{self._value}")'
          )
  
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 5 for calling the Constant obj's underlying member method code with example usage: obj._layered_set_value(value) without return types