code: def _set_out_file(out_file):
      global _out_file
      _out_file = out_file
  
file_path: nni/nni/runtime/tuner_command_channel/legacy.py
imports: import logging
  import os
  import threading
  from .command_type import CommandType
label_desc: Use image node_id 2 for calling a global function with example usage: _set_out_file(out_file) without return types