class_docstr: Wrapped class for `FleissKappa` to support testing framework.
class_docstr_tok: ["Wrapped","class","for","`","FleissKappa","`","to","support","testing","framework","."]
docstr: Update function.
docstr_tok: ["Update","function","."]
code: def update(self, preds, target):
      """Update function."""
      super().update(preds)
  
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 1 for calling the WrappedFleissKappa obj's underlying member method code with example usage: obj.update(preds, target) without return types