parameters: (x, decimals=0, out=None, **kwargs)
docstring: r"""
      round_(a, decimals=0, out=None)
      Round an array to the given number of decimals.
  
      See Also
      --------
      around : equivalent function; see for details.
docstring_summary: r"""
      round_(a, decimals=0, out=None)
      Round an array to the given number of decimals.
docstring_tokens: r round_ ( a decimals = 0 out = None ) Round an array to the given number of decimals .
function: def round_(x, decimals=0, out=None, **kwargs):
      r"""
      round_(a, decimals=0, out=None)
      Round an array to the given number of decimals.
  
      See Also
      --------
      around : equivalent function; see for details.
      """
      from ...numpy import ndarray
      if isinstance(x, numeric_types):
          return _np.around(x, decimals, **kwargs)
      elif isinstance(x, ndarray):
          return _npi.around(x, decimals, out=out, **kwargs)
      else:
          raise TypeError('type {} not supported'.format(str(type(x))))
function_tokens: def round_ ( x , decimals = 0 , out = None , * * kwargs ) : from . . . numpy import ndarray if isinstance ( x , numeric_types ) : return _np . around ( x , decimals , * * kwargs ) elif isinstance ( x , ndarray ) : return _npi . around ( x , decimals , out = out , * * kwargs ) else : raise TypeError ( 'type {} not supported' . format ( str ( type ( x ) ) ) )