code: def shutdown_only():
      yield None
      ray.shutdown()
  
file_path: ray/python/ray/train/tests/test_train_usage.py
imports: import pytest
  import torch
  import ray
  from ray.train import ScalingConfig
  from ray.train.torch import TorchTrainer
label_desc: Use image node_id 1 for calling a global function with example usage: shutdown_only() without return types