code: def equipped_SE_matrix_groups(request):
      space = request.cls.space = request.param
      space.equip_with_metric(_InvariantMetricMatrix, left=False)
  
      request.cls.data_generator = RandomDataGenerator(
          space, amplitude=10.0
      )
  
imports: import random
  import pytest
  import geomstats.backend
  from geomstats.geometry.invariant_metric import BiInvariantMetric, _InvariantMetricMatrix, _InvariantMetricVector
  from geomstats.geometry.special_euclidean import SpecialEuclidean
  from geomstats.geometry.special_orthogonal import SpecialOrthogonal
  from geomstats.test.parametrizers import DataBasedParametrizer
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test_cases.geometry.invariant_metric import BiInvariantMetricTestCase, InvariantMetricMatrixTestCase, InvariantMetricVectorTestCase
  from .data.invariant_metric import BiInvariantMetricMatrixTestData, BiInvariantMetricVectorsSOTestData, InvariantMetricMatrixSETestData, InvariantMetricMatrixSO3TestData, InvariantMetricMatrixSOTestData, InvariantMetricVectorTestData
label_desc: Use image node_id 2 for calling a global function with example usage: equipped_SE_matrix_groups(request) without return types