code: def test_invalid_stats(
      is_module, func, xp, device, input, axis, dtypes
  ):
      return apply_func(
          is_module, func, xp, device, input, axis, dtypes
      )
  
imports: import chainer
  import numpy
  import pytest
  import chainerx
  import chainerx.testing
  from chainerx_tests import array_utils
  from chainerx_tests import dtype_utils
  from chainerx_tests import math_utils
  from chainerx_tests import op_utils
label_desc: Use image node_id 9 for calling a global function with example usage: test_invalid_stats(is_module, func, xp, device, input, axis, dtypes) and returns: apply_func