class_docstr: A callback for recording GPU power draw (watts) on epoch begin and end.
  
  Example use:
  
  power_draw = PowerDraw()
  
  model.fit(...callbacks=[power_draw]...)
  
  history = talos.utils.power_draw_append(history, power_draw)
code: def __init__(self):
      super(PowerDraw, self).__init__()
  
      import os
      import time
  
      self.os = os
      self.time = time.time
      self.command = "nvidia-smi -i 0 -q | grep -i 'power draw' | tr -s ' ' | cut -d ' ' -f5"
  
imports: from tensorflow.keras.callbacks import Callback
label_desc: Use image node_id 1 to create a new PowerDraw object from inherited base classes: Callback with example: obj = PowerDraw()