code: def test_gpu_stump_nan_zero_mean_self_join():
      T = np.array([-1, 0, 1, np.inf, 1, 0, -1])
      m = 3
  
      zone = int(np.ceil(m / 4))
      ref_mp = naive.stump(T, m, exclusion_zone=zone, row_wise=True)
      comp_mp = gpu_stump(T, m, ignore_trivial=True)
  
      naive.replace_inf(ref_mp)
      naive.replace_inf(comp_mp)
      npt.assert_almost_equal(ref_mp, comp_mp)
  
imports: import functools
  from unittest.mock import patch
  import numpy
  import numpy.testing
  import pandas
  from numba import cuda
  from stumpy import config, gpu_stump
  import naive
  import pytest
label_desc: Use image node_id 14 for calling a global function with example usage: test_gpu_stump_nan_zero_mean_self_join() without return types