code: def process(self, *args):
      super(TimerMetric, self).process(*args)
      d_out = {
          key: self.time_dict[key]
          for key in self.time_keys
          if key in self.time_dict
      }
      return d_out
  
imports: from __future__ import print_function
  import sys
  import time
  from torchbearer.callbacks import Callback
  import torchbearer
  from torchbearer.metrics import Metric
label_desc: Use image node_id 3 for calling the TimerMetric obj's underlying member method code with example usage: obj.process() and returns: d_out