code: def print_runtime_info(out=None):
      """Shows Chainer runtime information.
  
      Runtime information includes:
  
      - OS platform
  
      - Chainer version
  
      - ChainerX version
  
      - NumPy version
  
      - CuPy version
  
        - CUDA information
        - cuDNN information
        - NCCL information
  
      - iDeep version
  
      Args:
          out: Output destination.
              If it is ``None``, runtime information
              will be shown in ``sys.stdout``.
  
      """
      if out is None:
          out = sys.stdout
      out.write(str(_get_runtime_info()))
      if hasattr(out, "flush"):
          out.flush()
  
file_path: chainer/chainer/_runtime_info.py
imports: import platform
  import sys
  import numpy
  import six
  import chainer
  from chainer.backends import cuda
  from chainer.backends import intel64
  import chainerx
label_desc: Use image node_id 2 for calling a global function with example usage: print_runtime_info(out) without return types