class_docstr: Base class for explainer algorithms from :py:mod:`alibi.explainers`.
class_docstr_tok: ["Base","class","for","explainer","algorithms","from",":","py",":","mod",":","`","alibi.explainers","`","."]
docstr: Save an explainer to disk. Uses the `dill` module.
  
  Parameters
  ----------
  path
      Path to a directory. A new directory will be created if one does not exist.
docstr_tok: ["Save","an","explainer","to","disk",".","Uses","the","`","dill","`","module",".","Parameters","--","--","--","--","--","path","Path","to","a","directory",".","A","new","directory","will","be","created","if","one","does","not","exist","."]
code: def save(self, path: Union[str, os.PathLike]) -> None:
      """
      Save an explainer to disk. Uses the `dill` module.
  
      Parameters
      ----------
      path
          Path to a directory. A new directory will be created if one does not exist.
      """
      save_explainer(self, path)
  
imports: import abc
  import json
  import os
  from collections import ChainMap
  from typing import Any, Union
  import logging
  from functools import partial
  import pprint
  import attr
  from alibi.saving import load_explainer, save_explainer, NumpyEncoder
  from alibi.version import __version__
label_desc: Use image node_id 4 for calling the Explainer obj's underlying member method code with example usage: obj.save(path) without return types