code: def random_uniform(
      *,
      low: Union[float, ivy.NativeArray, ivy.Array] = 0.0,
      high: Union[float, ivy.NativeArray, ivy.Array] = 1.0,
      shape: Optional[
          Union[ivy.Array, ivy.Shape, ivy.NativeShape]
      ] = None,
      device: Optional[Union[ivy.Device, ivy.NativeDevice]] = None,
      dtype: Optional[Union[ivy.Dtype, ivy.NativeDtype]] = None,
      seed: Optional[int] = None,
      out: Optional[ivy.Array] = None,
  ) -> ivy.Array:
      """Draws samples from a uniform distribution. Samples are uniformly
      distributed over the half-open interval ``[low, high)`` (includes ``low``,
      but excludes ``high``). In other words, any value within the given interval
      is equally likely to be drawn by uniform.
  
      Parameters
      ----------
      low
          Lower boundary of the output interval. All values generated will be greater than
          or equal to ``low``. If array, must have same shape as ``high``.
      high
          Upper boundary of the output interval. All the values generated will be less
          than ``high``. If array, must have same shape as ``low``.
      shape
          If the given shape is, e.g ``(m, n, k)``, then ``m * n * k`` samples are drawn.
          Can only be specified when ``low`` and ``high`` are numeric values, else
          exception will be raised.
          Default is ``None``, where a single value is returned.
      device
          device on which to create the array 'cuda:0', 'cuda:1', 'cpu' etc.
          (Default value = None).
      dtype
          output array data type. If ``dtype`` is ``None``, the output array data
          type will be the default floating-point data type. Default ``None``
      seed
          A python integer. Used to create a random seed distribution
      out
          optional output array, for writing the result to. It must have a shape that the
          inputs broadcast to.
  
      Returns
      -------
      ret
          Drawn samples from the parameterized uniform distribution.
  
      Examples
      --------
      >>> ivy.random_uniform()
      ivy.array(0.26431865)
  
      >>> ivy.random_uniform(shape=3)
      ivy.array([0.475, 0.878, 0.861])
  
      >>> ivy.random_uniform(shape=(2,3))
      ivy.array([[0.929 , 0.545 , 0.789 ],
                 [0.519 , 0.0435, 0.381 ]])
  
      >>> ivy.random_uniform(low=3.0, high=6.0)
      ivy.array(3.4608004)
  
      >>> ivy.random_uniform(low=1.0, high=2.0, shape=(2,1))
      ivy.array([[1.85],
                 [1.81]])
  
      >>> z = ivy.zeros(())
      >>> ivy.random_uniform(low=1.0, high=2.0, out=z)
      ivy.array(1.8458502)
  
      >>> ivy.random_uniform(low=1.0, high=2.0, shape=(2,2), device='cpu')
      ivy.array([[1.81, 1.8 ],
                 [1.32, 1.43]])
  
      >>> ivy.random_uniform(low=1.0, high=2.0, shape=(2,2), device='cpu',
      ...                    dtype='int32')
      ivy.array([[1, 1],
                 [1, 1]])
  
      >>> z = ivy.zeros((1,2))
      >>> ivy.random_uniform(low=1.0, high=2.0, shape=(1,2), device='cpu',
      ...                    dtype='float64', out=z)
      ivy.array([[1.34, 1.02]])
  
      >>> x = ivy.array([4.8, 5.6])
      >>> y = ivy.array([9.8, 7.4])
      >>> ivy.random_uniform(low=x, high=y)
      ivy.array([0.475, 0.878])
  
      >>> z = ivy.zeros((2,))
      >>> ivy.random_uniform(low=x, high=y, out=z, seed=42)
      ivy.array([6.67270088, 7.31128597])
  
      >>> ivy.random_uniform(low=x, high=y, device='cpu')
      ivy.array([6.88, 6.75])
  
      >>> ivy.random_uniform(low=x, high=y, device='cpu', dtype='float64')
      ivy.array([8.62, 6.47])
  
      >>> z = ivy.zeros((2,))
      >>> ivy.random_uniform(low=x, high=y, device='cpu', dtype='float64', out=z)
      ivy.array([5. , 7.3])
      """
      return ivy.current_backend().random_uniform(
          low=low,
          high=high,
          shape=shape,
          device=device,
          dtype=dtype,
          out=out,
          seed=seed,
      )
  
file_path: ivy/ivy/functional/ivy/random.py
imports: from typing import Optional, Union
  import ivy
  from ivy.func_wrapper import handle_array_function, infer_dtype, handle_out_argument, to_native_arrays_and_back, inputs_to_native_shapes, handle_nestable, handle_device, handle_backend_invalid
  from ivy.utils.backend import backend_stack
  from ivy.utils.exceptions import handle_exceptions
label_desc: Use image node_id 5 for calling a global function with example usage: random_uniform() and returns: ivy