class_docstr: Interface for abstract model to executor HPO runs
docstr: Parse `hyperparameter_tune_kwargs` and initialize the executor
  
  Parameters
  ----------
  hyperparameter_tune_kwargs
      User specified parameters to perform HPO experiment
  default_num_trials
      If user didn't provide `num_trials` in `hyperparameter_tune_kwargs`, will use this value instead.
      If None and user didn't provide `num_trials`, will do 1000 trials when there is no time limit, and 1 trial if there is time limit.
  time_limit
      Time limit provided to the experiment.
docstr_tok: ["Parse","`","hyperparameter_tune_kwargs","`","and","initialize","the","executor","Parameters","--","--","--","--","--","hyperparameter_tune_kwargs","User","specified","parameters","to","perform","HPO","experiment","default_num_trials","If","user","did","n't","provide","`","num_trials","`","in","`","hyperparameter_tune_kwargs","`",",","will","use","this","value","instead",".","If","None","and","user","did","n't","provide","`","num_trials","`",",","will","do","1000","trials","when","there","is","no","time","limit",",","and","1","trial","if","there","is","time","limit",".","time_limit","Time","limit","provided","to","the","experiment","."]
code: def initialize(
      self,
      hyperparameter_tune_kwargs: Union[str, dict],
      default_num_trials: Optional[int] = None,
      time_limit: Optional[float] = None,
  ):
      """
      Parse `hyperparameter_tune_kwargs` and initialize the executor
  
      Parameters
      ----------
      hyperparameter_tune_kwargs
          User specified parameters to perform HPO experiment
      default_num_trials
          If user didn't provide `num_trials` in `hyperparameter_tune_kwargs`, will use this value instead.
          If None and user didn't provide `num_trials`, will do 1000 trials when there is no time limit, and 1 trial if there is time limit.
      time_limit
          Time limit provided to the experiment.
      """
      raise NotImplementedError
  
imports: from __future__ import annotations
  import copy
  import logging
  import math
  import os
  import time
  from abc import ABC, abstractmethod
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Tuple, Union
  import pandas
  from autogluon.common import space
  from autogluon.common.utils.resource_utils import ResourceManager
  from autogluon.common.utils.s3_utils import is_s3_url
  from ..ray.resources_calculator import ResourceCalculator
  from ..scheduler.scheduler_factory import scheduler_factory
  from ..utils.savers import save_pkl
  from .constants import CUSTOM_BACKEND, RAY_BACKEND
  from .exceptions import EmptySearchSpace
label_desc: Use image node_id 5 for calling the HpoExecutor obj's underlying member method code with example usage: obj.initialize(hyperparameter_tune_kwargs, default_num_trials, time_limit) without return types