code: def test_tuple_outs(self, xp):
      def func(x):
          return x.sum(axis=-1), x.prod(axis=-1), x.max(axis=-1)
  
      a = testing.shaped_arange((2, 2, 2), xp, cupy.int64)
      return xp.apply_along_axis(func, 1, a)
  
file_path: cupy/tests/cupy_tests/lib_tests/test_shape_base.py
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 8 for calling the TestApplyAlongAxis obj's underlying member method code with example usage: obj.test_tuple_outs(xp) and returns: xp, x,  x,  x