code: def suggest_parameter(rng, spec):
      if spec.categorical:
          return rng.integers(spec.size)
      if spec.normal_distributed:
          return rng.normal(spec.mu, spec.sigma)
      else:
          return rng.uniform(spec.low, spec.high)
  
file_path: nni/nni/algorithms/hpo/random_tuner.py
imports: from __future__ import annotations
  import logging
  import numpy
  import schema
  from nni import ClassArgsValidator
  from nni.common.hpo_utils import Deduplicator, format_search_space, deformat_parameters
  from nni.tuner import Tuner
label_desc: Use image node_id 2 for calling a global function with example usage: suggest_parameter(rng, spec) and returns: rng, rng, rng