code: def bound_to_array(x: tp.BoundValue) -> np.ndarray:
      """Updates type of bounds to use arrays"""
      if isinstance(x, (tuple, list, np.ndarray)):
          return np.array(x, copy=False)
      else:
          return np.array([x], dtype=float)
  
imports: import uuid
  import itertools
  import numpy
  from scipy import stats
  import nevergrad.common.typing
  from .None import utils
label_desc: Use image node_id 1 for calling a global function with example usage: bound_to_array(x) and returns: np, np