docstr: Load the detector's state from disk, in order to restart from a checkpoint previously generated with
  :meth:`~save_state`.
  
  Parameters
  ----------
  filepath
      The directory to load state from.
docstr_tok: ["Load","the","detector","'s","state","from","disk",",","in","order","to","restart","from","a","checkpoint","previously","generated","with",":","meth",":","`","~save_state","`",".","Parameters","--","--","--","--","--","filepath","The","directory","to","load","state","from","."]
code: def load_state(self, filepath: Union[str, os.PathLike]):
      """
      Load the detector's state from disk, in order to restart from a checkpoint previously generated with
      :meth:`~save_state`.
  
      Parameters
      ----------
      filepath
          The directory to load state from.
      """
      self._detector.load_state(filepath)
  
file_path: alibi-detect/alibi_detect/cd/lsdd_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 10 for calling the LSDDDriftOnline obj's underlying member method code with example usage: obj.load_state(filepath) without return types