code: def ensure_initialized():
      if not _initialized:
          raise _init_error
  
file_path: gpustat/gpustat/nvml.py
imports: import atexit
  import functools
  import os
  import sys
  import textwrap
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: ensure_initialized() without return types