code: def test_context_mmddrift(context_mmddrift_params):
      backend = context_mmddrift_params
      c_ref = np.random.randn(*(n, 1))
      x_ref = c_ref + np.random.randn(*(n, n_features))
  
      try:
          cd = ContextMMDDrift(
              x_ref=x_ref, c_ref=c_ref, backend=backend
          )
      except NotImplementedError:
          cd = None
  
      if backend.lower() == "pytorch":
          assert isinstance(cd._detector, ContextMMDDriftTorch)
      elif backend.lower() == "tensorflow":
          assert isinstance(cd._detector, ContextMMDDriftTF)
      else:
          assert cd is None
  
imports: import numpy
  import pytest
  from alibi_detect.cd import ContextMMDDrift
  from alibi_detect.cd.pytorch.context_aware import ContextMMDDriftTorch
  from alibi_detect.cd.tensorflow.context_aware import ContextMMDDriftTF
label_desc: Use image node_id 2 for calling a global function with example usage: test_context_mmddrift(context_mmddrift_params) without return types