def METHOD_NAME(self, context: Context, batch: BatchWrapper, dataset_kind: DatasetKind):
    """Update the metrics by passing the batch to ignite metric update method."""
    self._ap_metric.METHOD_NAME((batch.numpy_predictions, batch.numpy_labels))