code: def __init__(self, entry):
      if not isinstance(entry, dict):
          raise TypeError(
              "entry should be a dict, {} given".format(type(entry))
          )
      self.entry = entry
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import json
  import platform
  import sys
  from datetime import datetime
  import psutil
  from ..gpu import pynvml
label_desc: Use image node_id 1 to create a new GPUStat object from inherited base classes: object with example: obj = GPUStat(entry)