code: def get_nvidia_smi():
      # Note: nvidia-smi is currently available only on Windows and Linux
      smi = "nvidia-smi"
      if get_platform() == "win32":
          smi = (
              '"C:\\Program Files\\NVIDIA Corporation\\NVSMI\\%s"' % smi
          )
      return smi
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import locale
  import os
  import re
  import subprocess
  import sys
  from collections import namedtuple
label_desc: Use image node_id 8 for calling a global function with example usage: get_nvidia_smi() and returns: smi