code: def _exact_match_reduce(
      correct: Tensor,
      total: Tensor,
  ) -> Tensor:
      """Reduce exact match."""
      return _safe_divide(correct, total)
  
file_path: torchmetrics/src/torchmetrics/functional/classification/exact_match.py
imports: from typing import Optional, Tuple
  import torch
  from torch import Tensor
  from typing_extensions import Literal
  from torchmetrics.functional.classification.stat_scores import _multiclass_stat_scores_arg_validation, _multiclass_stat_scores_format, _multiclass_stat_scores_tensor_validation, _multilabel_stat_scores_arg_validation, _multilabel_stat_scores_format, _multilabel_stat_scores_tensor_validation
  from torchmetrics.utilities.compute import _safe_divide
  from torchmetrics.utilities.enums import ClassificationTaskNoBinary
label_desc: Use image node_id 1 for calling a global function with example usage: _exact_match_reduce(correct, total) and returns: _safe_divide