code: def __init__(self):
      self.times = []
      self.tot = 0
  
imports: import traceback
  from contextlib import contextmanager
  from time import perf_counter
  from ..compat import tfv1
  from ..utils import logger
  from ..utils.utils import humanize_time_delta
  from .base import Callback
  from .hooks import CallbackToHook
label_desc: Use image node_id 1 to create a new CallbackTimeLogger object from inherited base classes: object with example: obj = CallbackTimeLogger()