code: def round(x: Array, /) -> Array:
      """
      Array API compatible wrapper for :py:func:`np.round <numpy.round>`.
  
      See its docstring for more information.
      """
      if x.dtype not in _numeric_dtypes:
          raise TypeError("Only numeric dtypes are allowed in round")
      return Array._new(np.round(x._array))
  
imports: from __future__ import annotations
  from ._dtypes import _boolean_dtypes, _floating_dtypes, _integer_dtypes, _integer_or_boolean_dtypes, _numeric_dtypes, _result_type
  from ._array_object import Array
  import cupy
label_desc: Use image node_id 47 for calling a global function with example usage: round() and returns: Array