code: def after_run(self, run_context, run_values):
      results = run_values.results
      global_step = results.get("global_step")
  
      if self._write_summaries:
          self._timer.update_last_triggered_step(global_step)
          summary = results.get("summary")
          if summary is not None:
              if self._summary_writer is not None:
                  self._summary_writer.add_summary(summary, global_step)
  
      self._next_step = global_step + 1
  
file_path: luminoth/luminoth/utils/hooks/var_vis_hook.py
imports: import tensorflow
  from tensorflow.python.training.summary_io import SummaryWriterCache
label_desc: Use image node_id 4 for calling the VarVisHook obj's underlying member method code with example usage: obj.after_run(run_context, run_values) without return types