code: def print_config(file=sys.stdout):
      from collections import OrderedDict
  
      import numpy as np
      import torch
  
      output = OrderedDict()
      output["MONAILabel"] = __version__
      output["Numpy"] = np.version.full_version
      output["Pytorch"] = torch.__version__
  
      for k, v in output.items():
          print(f"{k} version: {v}", file=file, flush=True)
      print(f"MONAILabel rev id: {__revision_id__}")
  
label_desc: Use image node_id 1 for calling a global function with example usage: print_config(file) without return types