docstr: ivy.Array instance method variant of ivy.gamma. This method simply
  wraps the function, and so the docstring for ivy.gamma also applies to
  this method with minimal changes.
  
  Parameters
  ----------
  self
      Input Array and the first parameter of the gamma distribution.
  beta
      The second parameter of the gamma distribution.
  shape
      If the given shape is, e.g '(m, n, k)', then 'm * n * k' samples are drawn.
      (Default value = 'None', where 'ivy.shape(logits)' samples are drawn)
  device
      device on which to create the array.
  dtype
       output array data type. If ``dtype`` is ``None``, the output array data
       type will be the default 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 gamma distribution with the shape of
      the input array.
docstr_tok: ["ivy.Array","instance","method","variant","of","ivy.gamma",".","This","method","simply","wraps","the","function",",","and","so","the","docstring","for","ivy.gamma","also","applies","to","this","method","with","minimal","changes",".","Parameters","--","--","--","--","--","self","Input","Array","and","the","first","parameter","of","the","gamma","distribution",".","beta","The","second","parameter","of","the","gamma","distribution",".","shape","If","the","given","shape","is",",","e.g","'","(","m",",","n",",","k",")","'",",","then","'m","*","n","*","k","'","samples","are","drawn",".","(","Default","value","=","'None","'",",","where","'ivy.shape","(","logits",")","'","samples","are","drawn",")","device","device","on","which","to","create","the","array",".","dtype","output","array","data","type",".","If","``","dtype","``","is","``","None","``",",","the","output","array","data","type","will","be","the","default","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","gamma","distribution","with","the","shape","of","the","input","array","."]
code: def gamma(
      self: ivy.Array,
      beta: Union[int, ivy.Array, ivy.NativeArray],
      /,
      *,
      shape: Optional[Union[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.gamma. This method simply
      wraps the function, and so the docstring for ivy.gamma also applies to
      this method with minimal changes.
  
      Parameters
      ----------
      self
          Input Array and the first parameter of the gamma distribution.
      beta
          The second parameter of the gamma distribution.
      shape
          If the given shape is, e.g '(m, n, k)', then 'm * n * k' samples are drawn.
          (Default value = 'None', where 'ivy.shape(logits)' samples are drawn)
      device
          device on which to create the array.
      dtype
           output array data type. If ``dtype`` is ``None``, the output array data
           type will be the default 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 gamma distribution with the shape of
          the input array.
      """
      return ivy.gamma(
          self,
          beta,
          shape=shape,
          device=device,
          dtype=dtype,
          seed=seed,
          out=out,
      )
  
file_path: ivy/ivy/data_classes/array/experimental/random.py
imports: import abc
  from typing import Optional, Union
  import ivy
label_desc: Use image node_id 3 for calling the _ArrayWithRandomExperimental obj's underlying member method code with example usage: obj.gamma() and returns: ivy