code: def test_multi_dim(self, xp, scp, dtype):
      if xp.dtype(dtype).kind == "u":
          # Unsigned integers make underflows in numpy (eventually seen as
          # overflows in `np.exp(tmp)`)
          pytest.skip()
      x = testing.shaped_random((5, 6, 7, 4), xp, dtype=dtype, scale=8)
      return scp.special.softmax(x)
  
file_path: cupy/tests/cupyx_tests/scipy_tests/special_tests/test_softmax.py
imports: import pytest
  import cupy
  from cupy import testing
  import cupyx
  import cupyx.scipy.special
label_desc: Use image node_id 4 for calling the TestSoftmax obj's underlying member method code with example usage: obj.test_multi_dim(xp, scp, dtype) and returns: scp