class_docstr: Callback that prints metrics to stdout.
  
  Args:
      count_mode: One of `"steps"` or `"samples"`.
          Whether the progress bar should
          count samples seen or steps (batches) seen.
  
  Raises:
      ValueError: In case of invalid `count_mode`.
code: def _finalize_progbar(self, logs):
      logs = logs or {}
      if self.target is None:
          self.target = self.seen
          self.progbar.target = self.target
      self.progbar.update(
          self.target, list(logs.items()), finalize=True
      )
  
imports: from keras.api_export import keras_export
  from keras.callbacks.callback import Callback
  from keras.utils import io_utils
  from keras.utils.progbar import Progbar
label_desc: Use image node_id 16 for calling the ProgbarLogger obj's underlying member method code with example usage: obj._finalize_progbar(logs) without return types