code: def wrapped_fleiss_kappa(preds, target, mode):
      """Wrapped function for `fleiss_kappa` to support testing framework."""
      return fleiss_kappa(preds, mode)
  
file_path: torchmetrics/tests/unittests/nominal/test_fleiss_kappa.py
imports: from functools import partial
  import numpy
  import pytest
  import torch
  from statsmodels.stats.inter_rater import fleiss_kappa
  from torchmetrics.functional.nominal.fleiss_kappa import fleiss_kappa
  from torchmetrics.nominal.fleiss_kappa import FleissKappa
  from unittests import BATCH_SIZE, NUM_BATCHES, NUM_CLASSES
  from unittests.helpers.testers import MetricTester
label_desc: Use image node_id 2 for calling a global function with example usage: wrapped_fleiss_kappa(preds, target, mode) and returns: fleiss_kappa