code: def ray_start_4_cpus_2_gpus_extra():
      address_info = ray.init(
          num_cpus=4, num_gpus=2, resources={"a": 2}
      )
      yield address_info
      ray.shutdown()
  
file_path: ray/python/ray/tune/tests/test_api_checkpoint_integration.py
imports: import os
  import tempfile
  from pathlib import Path
  import pytest
  import sys
  import ray
  from ray import train
  from ray.air import ScalingConfig
  from ray.train import CheckpointConfig
  from ray.air.execution import FixedResourceManager
  from ray.air.constants import TRAINING_ITERATION
  from ray.train._internal.storage import StorageContext
  from ray.tune import Trainable, register_trainable
  from ray.tune.execution.tune_controller import TuneController
  from ray.tune.experiment import Trial
  from ray.train.tests.util import mock_storage_context
label_desc: Use image node_id 1 for calling a global function with example usage: ray_start_4_cpus_2_gpus_extra() without return types