code: def test_correlation_computation():
      row1 = 5
      col = 10
      row2 = 6
      mat1 = prng.rand(row1, col).astype(np.float32)
      mat2 = prng.rand(row2, col).astype(np.float32)
      corr = compute_correlation(mat1, mat1)
      expected_corr = np.corrcoef(mat1)
      assert np.allclose(corr, expected_corr, atol=1e-5), (
          "high performance correlation computation does not provide correct "
          "correlation results within the same set"
      )
      corr = compute_correlation(mat1, mat2)
      mat = np.concatenate((mat1, mat2), axis=0)
      expected_corr = np.corrcoef(mat)[0:row1, row1:]
      assert np.allclose(corr, expected_corr, atol=1e-5), (
          "high performance correlation computation does not provide correct "
          "correlation results between two sets"
      )
  
imports: import numpy
  from numpy.random import RandomState
  from brainiak.fcma.util import compute_correlation
label_desc: Use image node_id 1 for calling a global function with example usage: test_correlation_computation() without return types