code: def test_round(self, xp, dtype):
      if dtype == numpy.bool_:
          # avoid cast problem
          a = testing.shaped_random(
              self.shape, xp, scale=10, dtype=dtype
          )
          return a.round(0)
      if dtype == numpy.float16:
          # avoid accuracy problem
          a = testing.shaped_random(
              self.shape, xp, scale=10, dtype=dtype
          )
          return a.round(0)
      a = testing.shaped_random(self.shape, xp, scale=100, dtype=dtype)
      return a.round(self.decimals)
  
file_path: cupy/tests/cupy_tests/core_tests/test_ndarray_math.py
imports: import unittest
  import numpy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestRound obj's underlying member method code with example usage: obj.test_round(xp, dtype) and returns: a, a, a