code: def test_lsdddrift(lsdddrift_params):
      backend = lsdddrift_params
      x_ref = np.random.randn(*(n, n_features))
  
      try:
          cd = LSDDDrift(x_ref=x_ref, backend=backend)
      except NotImplementedError:
          cd = None
  
      if backend.lower() == "pytorch":
          assert isinstance(cd._detector, LSDDDriftTorch)
      elif backend.lower() == "tensorflow":
          assert isinstance(cd._detector, LSDDDriftTF)
      else:
          assert cd is None
  
imports: import numpy
  import pytest
  from alibi_detect.cd import LSDDDrift
  from alibi_detect.cd.pytorch.lsdd import LSDDDriftTorch
  from alibi_detect.cd.tensorflow.lsdd import LSDDDriftTF
label_desc: Use image node_id 2 for calling a global function with example usage: test_lsdddrift(lsdddrift_params) without return types