class_docstr: Abstract base class for DeepChem models.
class_docstr_tok: ["Abstract","base","class","for","DeepChem","models","."]
code: def __del__(self):
      if "model_dir_is_temp" in dir(self) and self.model_dir_is_temp:
          shutil.rmtree(self.model_dir)
  
imports: import os
  import shutil
  import tempfile
  import logging
  from typing import List, Optional, Sequence
  import numpy
  from deepchem.data import Dataset
  from deepchem.metrics import Metric
  from deepchem.trans import Transformer, undo_transforms
  from deepchem.utils.evaluate import Evaluator
  from deepchem.utils.typing import OneOrMany
label_desc: Use image node_id 2 for calling the Model obj's underlying member method code with example usage: obj.__del__() without return types