def METHOD_NAME(self, preds: Tensor, target: Tensor) -> None:
    """Update state with predictions and targets."""
    stoi_batch = short_time_objective_intelligibility(preds, target, self.fs, self.extended, False).to(
        self.sum_stoi.device
    )
    self.sum_stoi += stoi_batch.sum()
    self.total += stoi_batch.numel()