code: def _write_model_stats(self, iteration:int)->None:
          "Writes gradient statistics to Tensorboard."
          self.stats_writer.write(model=self.learn.model, iteration=iteration, tbwriter=self.tbwriterf _write_model_stats(self, iteration:int)->None:
          "Writes gradient statistics to Tensorboard."
          self.stats_writer.write(model=self.learn.model, iteration=iteration, tbwriter=self.tbwriter)
docs: Writes gradient statistics to Tensorboard.