code: def delete_dir_for_saved_models(dirs_for_saved_models):
      for new_save_dir in dirs_for_saved_models:
          shutil.rmtree(str(new_save_dir))
  
file_path: DeepPavlov/deeppavlov/core/common/cross_validation.py
imports: import shutil
  from collections import OrderedDict
  from logging import getLogger
  from pathlib import Path
  import numpy
  from sklearn.model_selection import KFold
  from deeppavlov.core.commands.train import train_evaluate_model_from_config, get_iterator_from_config, read_data_by_config
  from deeppavlov.core.commands.utils import expand_path, parse_config
  from deeppavlov.core.common.params_search import ParamsSearch
label_desc: Use image node_id 2 for calling a global function with example usage: delete_dir_for_saved_models(dirs_for_saved_models) without return types