code: def test_gpu_stump_two_constant_subsequences_A_B_join():
      T_A = np.array([0, 0, 0, 0, 0, 1], dtype=np.float64)
      T_B = np.concatenate(
          (np.zeros(20, dtype=np.float64), np.ones(5, dtype=np.float64))
      )
      m = 3
      ref_mp = naive.stump(T_B, m, T_B=T_A, row_wise=True)
      comp_mp = gpu_stump(T_B, m, T_A, ignore_trivial=False)
      naive.replace_inf(ref_mp)
      naive.replace_inf(comp_mp)
      npt.assert_almost_equal(
          ref_mp[:, 0], comp_mp[:, 0]
      )  # ignore indices
  
      # comp_mp = gpu_stump(pd.Series(T_B), m, pd.Series(T_A), ignore_trivial=False)
      # naive.replace_inf(comp_mp)
      # npt.assert_almost_equal(ref_mp[:, 0], comp_mp[:, 0])  # ignore indices
  
      # Swap inputs
      ref_mp = naive.stump(T_A, m, T_B=T_B, row_wise=True)
      comp_mp = gpu_stump(T_A, m, T_B, ignore_trivial=False)
      naive.replace_inf(ref_mp)
      naive.replace_inf(comp_mp)
      npt.assert_almost_equal(ref_mp[:, 0], comp_mp[:, 0])
  
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 9 for calling a global function with example usage: test_gpu_stump_two_constant_subsequences_A_B_join() without return types