class_docstr: Implementation of HpoExecutor Interface, where ray tune is used as the backend
code: def initialize(
      self,
      hyperparameter_tune_kwargs,
      default_num_trials=None,
      time_limit=None,
  ):
      self.time_limit = time_limit
      if isinstance(hyperparameter_tune_kwargs, dict):
          hyperparameter_tune_kwargs = hyperparameter_tune_kwargs.copy()
      if isinstance(hyperparameter_tune_kwargs, str):
          hyperparameter_tune_kwargs: dict = (
              self.custom_to_ray_preset_map[
                  hyperparameter_tune_kwargs
              ].copy()
          )
      hyperparameter_tune_kwargs[
          "scheduler"
      ] = self.custom_to_ray_scheduler_preset_map.get(
          hyperparameter_tune_kwargs["scheduler"],
          hyperparameter_tune_kwargs["scheduler"],
      )
      hyperparameter_tune_kwargs[
          "searcher"
      ] = self.custom_to_ray_searcher_preset_map.get(
          hyperparameter_tune_kwargs["searcher"],
          hyperparameter_tune_kwargs["searcher"],
      )
      if (
          "num_trials" not in hyperparameter_tune_kwargs
          and default_num_trials is not None
      ):
          hyperparameter_tune_kwargs["num_trials"] = default_num_trials
      self.hyperparameter_tune_kwargs = copy.deepcopy(
          hyperparameter_tune_kwargs
      )
  
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 3 for calling the RayHpoExecutor obj's underlying member method code with example usage: obj.initialize(hyperparameter_tune_kwargs, default_num_trials, time_limit) without return types