code: def test_subspace(T, m):
      subseq_idx = 1
      nn_idx = 4
  
      for k in range(T.shape[0]):
          ref_S = stumpy.maamp_subspace(T, m, subseq_idx, nn_idx, k)
          comp_S = stumpy.subspace(
              T, m, subseq_idx, nn_idx, k, normalize=False
          )
          npt.assert_almost_equal(ref_S, comp_S)
  
imports: import naive
  import numpy
  import numpy.testing
  from dask.distributed import Client, LocalCluster
  from numba import cuda
  import stumpy
  from stumpy.maamp import maamp_multi_distance_profile
  from stumpy.mstump import multi_distance_profile
  import pytest
label_desc: Use image node_id 20 for calling a global function with example usage: test_subspace(T, m) without return types