code: def _(dim: Real):
      if dim.shape:
          raise NotImplementedError(
              "Array with normal prior cannot be converted."
          )
      return ng.p.Scalar(
          init=dim.original_dimension.prior.mean()
      ).set_mutation(sigma=dim.original_dimension.prior.std())
  
imports: from __future__ import annotations
  import logging
  import pickle
  from typing import Callable, Iterable, Sequence, SupportsInt
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Categorical, Dimension, Fidelity, Integer, Real, Space
  from orion.core.utils.format_trials import dict_to_trial
  from orion.core.utils.module_import import ImportOptional
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 9 for calling a global function with example usage: _(dim) and returns: ng