code: def _write_min_gradient(self)->None:
          "Writes the minimum of the gradients to Tensorboard."
          min_gradient = min(x.data.min() for x in self.gradients)
          self._add_gradient_scalar('min_gradient', scalar_value=min_gradientf _write_min_gradient(self)->None:
          "Writes the minimum of the gradients to Tensorboard."
          min_gradient = min(x.data.min() for x in self.gradients)
          self._add_gradient_scalar('min_gradient', scalar_value=min_gradient)
docs: Writes the minimum of the gradients to Tensorboard.