code: def _test_mmd_kernel(kernel):
      torch.manual_seed(1234)
      d = torchdrift.detectors.KernelMMDDriftDetector(kernel=kernel)
      x = torch.randn(5, 5)
      y = torch.randn(5, 5) + 1.0
      d.fit(x)
      assert d(x).item() < d(y).item()
      assert d.compute_p_value(x) > 0.80
      assert d.compute_p_value(y) < 0.05
  
file_path: TorchDrift/test/test_detectors.py
imports: import pytest
  import functools
  import torchdrift
  import torch
label_desc: Use image node_id 5 for calling a global function with example usage: _test_mmd_kernel(kernel) without return types