code: def test_sections_nd(self, size, sections, axis, dtype, xp, scp):
      if xp.dtype(dtype).kind in {"i", "u"}:
          pytest.skip()
  
      x_scale = 0.5 if xp.dtype(dtype).kind not in {"i", "u"} else 1
      c_scale = 0.2 if xp.dtype(dtype).kind not in {"i", "u"} else 1
  
      x = testing.shaped_random(
          (
              4,
              5,
              3,
              size,
          ),
          xp,
          dtype,
          scale=x_scale,
      )
      sos = testing.shaped_random(
          (sections, 6), xp, dtype, scale=c_scale
      )
      sos[:, 3] = 1
      if xp is cupy:
          out = apply_iir_sos(x, sos, axis=axis, block_sz=32)
      else:
          out = scp.signal.sosfilt(sos, x, axis=axis)
      return out
  
file_path: cupy/tests/cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py
imports: import pytest
  import cupy
  from cupy.cuda import driver
  from cupy.cuda import runtime
  from cupy import testing
  from cupyx.scipy.signal._iir_utils import apply_iir, apply_iir_sos
label_desc: Use image node_id 2 for calling the TestIIRUtilSos obj's underlying member method code with example usage: obj.test_sections_nd(size, sections, axis, dtype, xp, scp) and returns: out