code: def ray_start_4_cpus():
      address_info = ray.init(num_cpus=4)
      yield address_info
      ray.shutdown()
  
imports: import random
  from collections import defaultdict
  from typing import Dict, List, Optional
  import pytest
  import ray
  from ray.air import ResourceRequest
  from ray.air.execution import FixedResourceManager, PlacementGroupResourceManager
  from ray.air.execution._internal.actor_manager import RayActorManager
  from ray.air.execution._internal.tracked_actor import TrackedActor
  from ray.exceptions import RayActorError
label_desc: Use image node_id 1 for calling a global function with example usage: ray_start_4_cpus() without return types