docstr: ivy.Array instance method variant of ivy.random_uniform. This method
  simply wraps the function, and so the docstring for ivy.random_uniform
  also applies to this method with minimal changes.
  
  Parameters
  ----------
  self
      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
  --------
  >>> x = ivy.array([[9.8, 3.4], [5.8, 7.2]])
  >>> x.random_uniform(high=10.2)
  ivy.array([[9.86, 4.89],
             [7.06, 7.47]])
  
  >>> x.random_uniform(high=10.2, device='cpu')
  ivy.array([[9.86, 4.89],
             [7.06, 7.47]])
  
  >>> x.random_uniform(high=14.2, dtype='float16')
  ivy.array([[9.86, 4.89],
             [7.06, 7.47]])
  
  >>> x.random_uniform(high=10.8, device='cpu', dtype='float64')
  ivy.array([[9.86, 4.89],
             [7.06, 7.47]])
  
  >>> z = ivy.ones((2,2))
  >>> x.random_uniform(high=11.2, device='cpu', dtype='float64', out=z)
  ivy.array([[10.1 ,  6.53],
             [ 7.94,  8.85]])
  
  >>> x = ivy.array([8.7, 9.3])
  >>> y = ivy.array([12.8, 14.5])
  >>> x.random_uniform(y)
  ivy.array([12.1, 14. ])
  
  >>> x.random_uniform(high=y, device='cpu')
  ivy.array([12.1, 14. ])
  
  >>> x.random_uniform(high=y, dtype='float16')
  ivy.array([12.1, 14. ])
  
  >>> x.random_uniform(high=y, device='cpu', dtype='float64')
  ivy.array([12.1, 14. ])
  
  >>> z = ivy.ones((2,))
  >>> x.random_uniform(high=y, device='cpu', dtype='float64', out=z)
  ivy.array([12.1, 14. ])
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.random_uniform",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.random_uniform","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","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","--","--","--","--",">",">",">","x","=","ivy.array","(","[","[","9.8",",","3.4","]",",","[","5.8",",","7.2","]","]",")",">",">",">","x.random_uniform","(","high=10.2",")","ivy.array","(","[","[","9.86",",","4.89","]",",","[","7.06",",","7.47","]","]",")",">",">",">","x.random_uniform","(","high=10.2",",","device='cpu","'",")","ivy.array","(","[","[","9.86",",","4.89","]",",","[","7.06",",","7.47","]","]",")",">",">",">","x.random_uniform","(","high=14.2",",","dtype='float16","'",")","ivy.array","(","[","[","9.86",",","4.89","]",",","[","7.06",",","7.47","]","]",")",">",">",">","x.random_uniform","(","high=10.8",",","device='cpu","'",",","dtype='float64","'",")","ivy.array","(","[","[","9.86",",","4.89","]",",","[","7.06",",","7.47","]","]",")",">",">",">","z","=","ivy.ones","(","(","2,2",")",")",">",">",">","x.random_uniform","(","high=11.2",",","device='cpu","'",",","dtype='float64","'",",","out=z",")","ivy.array","(","[","[","10.1",",","6.53","]",",","[","7.94",",","8.85","]","]",")",">",">",">","x","=","ivy.array","(","[","8.7",",","9.3","]",")",">",">",">","y","=","ivy.array","(","[","12.8",",","14.5","]",")",">",">",">","x.random_uniform","(","y",")","ivy.array","(","[","12.1",",","14",".","]",")",">",">",">","x.random_uniform","(","high=y",",","device='cpu","'",")","ivy.array","(","[","12.1",",","14",".","]",")",">",">",">","x.random_uniform","(","high=y",",","dtype='float16","'",")","ivy.array","(","[","12.1",",","14",".","]",")",">",">",">","x.random_uniform","(","high=y",",","device='cpu","'",",","dtype='float64","'",")","ivy.array","(","[","12.1",",","14",".","]",")",">",">",">","z","=","ivy.ones","(","(","2",",",")",")",">",">",">","x.random_uniform","(","high=y",",","device='cpu","'",",","dtype='float64","'",",","out=z",")","ivy.array","(","[","12.1",",","14",".","]",")"]
code: def random_uniform(
      self: ivy.Array,
      /,
      *,
      high: Union[float, ivy.Array, ivy.NativeArray] = 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:
      """ivy.Array instance method variant of ivy.random_uniform. This method
      simply wraps the function, and so the docstring for ivy.random_uniform
      also applies to this method with minimal changes.
  
      Parameters
      ----------
      self
          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
      --------
      >>> x = ivy.array([[9.8, 3.4], [5.8, 7.2]])
      >>> x.random_uniform(high=10.2)
      ivy.array([[9.86, 4.89],
                 [7.06, 7.47]])
  
      >>> x.random_uniform(high=10.2, device='cpu')
      ivy.array([[9.86, 4.89],
                 [7.06, 7.47]])
  
      >>> x.random_uniform(high=14.2, dtype='float16')
      ivy.array([[9.86, 4.89],
                 [7.06, 7.47]])
  
      >>> x.random_uniform(high=10.8, device='cpu', dtype='float64')
      ivy.array([[9.86, 4.89],
                 [7.06, 7.47]])
  
      >>> z = ivy.ones((2,2))
      >>> x.random_uniform(high=11.2, device='cpu', dtype='float64', out=z)
      ivy.array([[10.1 ,  6.53],
                 [ 7.94,  8.85]])
  
      >>> x = ivy.array([8.7, 9.3])
      >>> y = ivy.array([12.8, 14.5])
      >>> x.random_uniform(y)
      ivy.array([12.1, 14. ])
  
      >>> x.random_uniform(high=y, device='cpu')
      ivy.array([12.1, 14. ])
  
      >>> x.random_uniform(high=y, dtype='float16')
      ivy.array([12.1, 14. ])
  
      >>> x.random_uniform(high=y, device='cpu', dtype='float64')
      ivy.array([12.1, 14. ])
  
      >>> z = ivy.ones((2,))
      >>> x.random_uniform(high=y, device='cpu', dtype='float64', out=z)
      ivy.array([12.1, 14. ])
      """
      return ivy.random_uniform(
          low=self._data,
          high=high,
          shape=shape,
          device=device,
          dtype=dtype,
          seed=seed,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/array/random.py
imports: import abc
  from typing import Optional, Union
  import ivy
label_desc: Use image node_id 1 for calling the _ArrayWithRandom obj's underlying member method code with example usage: obj.random_uniform() and returns: ivy