code: def test_scatter_add_cupy_arguments(self, dtype):
      if cupy.cuda.runtime.is_hip and dtype == numpy.float16:
          pytest.skip("atomicAdd does not support float16 in HIP")
      shape = (2, 3)
      a = cupy.zeros(shape, dtype)
      slices = (cupy.array([1, 1]), slice(None))
      cupy.add.at(a, slices, cupy.array(1.0))
      testing.assert_array_equal(
          a, cupy.array([[0.0, 0.0, 0.0], [2.0, 2.0, 2.0]], dtype)
      )
  
file_path: cupy/tests/cupy_tests/core_tests/test_ndarray_scatter.py
imports: import pytest
  import numpy
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestScatterAdd obj's underlying member method code with example usage: obj.test_scatter_add_cupy_arguments(dtype) without return types