code: def run(self, *args):
          
          if self.source is None:
              self.model.summary()
          else:
              x_data, y_data = next(iter(self.source.train_loader()))
              self.model.summary(input_size=x_data.shape[1:])
docs: Print model summary