code: def _write_max_norm(self, norms:[])->None:
          "Writes the maximum norm of the gradients to Tensorboard."
          max_norm = max(norms)
          self._add_gradient_scalar('max_norm', scalar_value=max_normf _write_max_norm(self, norms:[])->None:
          "Writes the maximum norm of the gradients to Tensorboard."
          max_norm = max(norms)
          self._add_gradient_scalar('max_norm', scalar_value=max_norm)
docs: Writes the maximum norm of the gradients to Tensorboard.