          """
          self._update_legacy_models()
          with self._settings.strategy_scope():
              if self._io.model_exists:
                  model = self._io._load()  # pylint:disable=protected-access
                  if self._is_predict:
 
</s> remove             if not self._is_predict:
 </s> add             if not is_summary and not self._is_predict: </s> remove         self._model.summary(print_fn=lambda x: logger.verbose("%s", x))
 </s> add         if hasattr(self._args, "summary") and self._args.summary:
            print_fn = None  # Print straight to stdout
        else:
            print_fn = lambda x: logger.verbose("%s", x)  # print to logger
        self._model.summary(print_fn=print_fn) </s> remove                 layer.summary(print_fn=lambda x: logger.verbose("%s", x))
 </s> add                 layer.summary(print_fn=print_fn)
        is_summary = hasattr(self._args, "summary") and self._args.summary
          """
          self._update_legacy_models()
        is_summary = hasattr(self._args, "summary") and self._args.summary
          with self._settings.strategy_scope():
              if self._io.model_exists:
                  model = self._io._load()  # pylint:disable=protected-access
                  if self._is_predict:
keep add keep keep keep keep
 train - Add option to output model summary and exit 
plugins/train/model/_base.py