parameters: (tensor: Tensor, a: float = 0.0, b: float = 1.0)
docstring: r"""Fills the given ``tensor`` with random value sampled from uniform distribution
      :math:`\mathcal{U}(\text{a}, \text{b})`.
  
      Args:
          tensor: tensor to be initialized.
          a: lower bound of the sampling interval.
          b: upper bound of the sampling interval.
docstring_summary: r"""Fills the given ``tensor`` with random value sampled from uniform distribution
      :math:`\mathcal{U}(\text{a}, \text{b})`.
docstring_tokens: r Fills the given tensor with random value sampled from uniform distribution : math : \ mathcal { U } ( \ text { a } \ text { b } ) .
function: def uniform_(tensor: Tensor, a: float = 0.0, b: float = 1.0) -> None:
      r"""Fills the given ``tensor`` with random value sampled from uniform distribution
      :math:`\mathcal{U}(\text{a}, \text{b})`.
  
      Args:
          tensor: tensor to be initialized.
          a: lower bound of the sampling interval.
          b: upper bound of the sampling interval.
      """
      tensor._reset(uniform(size=tensor.shape, low=a, high=b).astype(tensor.dtype))
function_tokens: def uniform_ ( tensor : Tensor , a : float = 0.0 , b : float = 1.0 ) -> None : tensor . _reset ( uniform ( size = tensor . shape , low = a , high = b ) . astype ( tensor . dtype ) )