code: def write(
      self, *, global_step: int, indicators: Dict[str, Indicator]
  ):
      with self.lock:
          for ind in indicators.values():
              self._write_indicator(global_step, ind)
  
      t = time.time()
      freq = self.frequency
      if self.commits_count < WARMUP_COMMITS:
          freq /= 2 ** (WARMUP_COMMITS - self.commits_count)
      if t - self.last_committed > freq:
          self.commits_count += 1
          self.flush()
  
file_path: labml/client/labml/internal/tracker/writers/app.py
imports: import threading
  import time
  from typing import Dict
  import numpy
  from .None import Writer
  from ..indicators import Indicator
  from ..indicators.numeric import NumericIndicator
  from ...app import AppTracker, Packet, AppTrackDataSource
label_desc: Use image node_id 5 for calling the Writer obj's underlying member method code with example usage: obj.write() without return types