code: def uniform(
      shape=None, low=0.0, high=1.0, random_state=None, dtype=np.float32
  ):
      """
      Draw samples from a uniform distribution.
  
      Parameters
      ----------
      shape : int or tuple of ints, optional
          Output shape. If shape is ``None`` (default), a single value is returned.
      low : float or array_like of floats, optional
          Lower boundary of the output interval.  All values generated will be
          greater than or equal to low.  The default value is 0.
      high : float or array_like of floats
          Upper boundary of the output interval.  All values generated will be
          less than high.  The default value is 1.0.
      random_state : int or np.random.RandomState, optional
          If an integer is given, it will be used as seed value for creating a RandomState.
      dtype : str or dtype
          Returned data-type for the output array.
  
      Returns
      -------
      out : ndarray or scalar
          Drawn samples from the parameterized uniform distribution.
      """
      return (
          get_rng(random_state).uniform(low, high, shape).astype(dtype)
      )
  
file_path: cornac/cornac/utils/init_utils.py
imports: import numpy
  from .common import get_rng
label_desc: Use image node_id 4 for calling a global function with example usage: uniform(shape, low, high, random_state, dtype) and returns: get_rng