code: def test_get_multi_QT(T, m):
      start = 0
      Q = core.rolling_window(T, m)
      ref_QT = np.empty((Q.shape[0], Q.shape[1]), dtype="float64")
      ref_QT_first = np.empty((Q.shape[0], Q.shape[1]), dtype="float64")
  
      for dim in range(T.shape[0]):
          ref_QT[dim] = naive_rolling_window_dot_product(
              T[dim, start : start + m], T[dim]
          )
          ref_QT_first[dim] = naive_rolling_window_dot_product(
              T[dim, :m], T[dim]
          )
  
      comp_QT, comp_QT_first = _get_multi_QT(start, T, m)
  
      npt.assert_almost_equal(ref_QT, comp_QT)
      npt.assert_almost_equal(ref_QT_first, comp_QT_first)
  
imports: import functools
  import naive
  import numpy
  import numpy.testing
  import pandas
  import pytest
  from stumpy import config, core, mdl, mstump, subspace
  from stumpy.mstump import _get_first_mstump_profile, _get_multi_QT, _multi_mass, multi_distance_profile
label_desc: Use image node_id 6 for calling a global function with example usage: test_get_multi_QT(T, m) without return types