class_docstr: Summary plugin base class.
  
  Summary plugins log additional summary values (e.g. GPU usage,
  etc.) per logged summary. This class is used to patch the TF env
  to handle `add_summary` of `tensorflow.summary.FileWriter` and of
  `tensorboardX.writer.SummaryToEventTransformer`.
class_docstr_tok: ["Summary","plugin","base","class",".","Summary","plugins","log","additional","summary","values","(","e.g",".","GPU","usage",",","etc",".",")","per","logged","summary",".","This","class","is","used","to","patch","the","TF","env","to","handle","`","add_summary","`","of","`","tensorflow.summary.FileWriter","`","and","of","`","tensorboardX.writer.SummaryToEventTransformer","`","."]
code: def _summary_values(self, global_step):
      if self._summary_cache.expired():
          self.log.debug("reading summary values")
          try:
              vals = self.read_summary_values(global_step)
          except:
              self.log.exception("reading summary values")
              vals = {}
          self._summary_cache.reset_for_step(global_step, vals)
      return self._summary_cache.for_step(global_step)
  
imports: import time
  import warnings
  from guild import python_util
  from guild import util
  from guild.plugin import Plugin
label_desc: Use image node_id 16 for calling the SummaryPlugin obj's underlying member method code with example usage: obj._summary_values(global_step) and returns: self