docstr: Compute the test-statistic (squared MMD) between the reference window and test window.
  
  Parameters
  ----------
  x_t
      A single instance to be added to the test-window.
  
  Returns
  -------
  Squared MMD estimate between reference window and test window.
docstr_tok: ["Compute","the","test-statistic","(","squared","MMD",")","between","the","reference","window","and","test","window",".","Parameters","--","--","--","--","--","x_t","A","single","instance","to","be","added","to","the","test-window",".","Returns","--","--","--","-","Squared","MMD","estimate","between","reference","window","and","test","window","."]
code: def score(self, x_t: Union[np.ndarray, Any]) -> float:
      """
      Compute the test-statistic (squared MMD) between the reference window and test window.
  
      Parameters
      ----------
      x_t
          A single instance to be added to the test-window.
  
      Returns
      -------
      Squared MMD estimate between reference window and test window.
      """
      return self._detector.score(x_t)
  
file_path: alibi-detect/alibi_detect/cd/mmd_online.py
imports: import os
  import numpy
  from typing import Any, Callable, Dict, Optional, Union
  from alibi_detect.utils.frameworks import has_pytorch, has_tensorflow, BackendValidator, Framework
  from alibi_detect.base import DriftConfigMixin
  from alibi_detect.utils._types import TorchDeviceType
label_desc: Use image node_id 7 for calling the MMDDriftOnline obj's underlying member method code with example usage: obj.score(x_t) and returns: self