docstr: Resets the predictor model.
  
  Parameters
  ----------
  predictor
      New prediction model.
docstr_tok: ["Resets","the","predictor","model",".","Parameters","--","--","--","--","--","predictor","New","prediction","model","."]
code: def reset_predictor(self, predictor: Union[tf.keras.Model]) -> None:
      """
      Resets the predictor model.
  
      Parameters
      ----------
      predictor
          New prediction model.
      """
      # TODO: check what else should be done (e.g. validate dtypes again?)
      self.model = predictor
  
imports: import copy
  import logging
  import string
  import warnings
  from enum import Enum
  from typing import Callable, List, Optional, Tuple, Union, cast
  import numpy
  import tensorflow
  from alibi.api.defaults import DEFAULT_DATA_INTGRAD, DEFAULT_META_INTGRAD
  from alibi.api.interfaces import Explainer, Explanation
  from alibi.utils.approximation_methods import approximation_parameters
label_desc: Use image node_id 4 for calling the IntegratedGradients obj's underlying member method code with example usage: obj.reset_predictor(predictor) without return types