code: def _load_SimilarityExplainer(
      path: Union[str, os.PathLike],
      predictor: "Union[tensorflow.keras.Model, torch.nn.Module]",
      meta: dict,
  ) -> "GradientSimilarity":
      # load explainer
      with open(Path(path, "explainer.dill"), "rb") as f:
          explainer = dill.load(f)
      explainer.reset_predictor(predictor)
  
      return explainer
  
imports: import copy
  import json
  import numbers
  import os
  from pathlib import Path
  import sys
  from typing import Callable, TYPE_CHECKING, Union
  import warnings
  import dill
  import numpy
  from alibi.version import __version__
label_desc: Use image node_id 20 for calling a global function with example usage: _load_SimilarityExplainer(path, predictor, meta) and returns: explainer