class_docstr: Tester class for `TotalVariation` metric overriding its update method.
class_docstr_tok: ["Tester","class","for","`","TotalVariation","`","metric","overriding","its","update","method","."]
docstr: Update metric.
docstr_tok: ["Update","metric","."]
code: def update(self, img, *args: Any):
      """Update metric."""
      super().update(img=img)
  
imports: from functools import partial
  from typing import Any
  import pytest
  import torch
  from kornia.losses import total_variation
  from torchmetrics.functional.image.tv import total_variation
  from torchmetrics.image.tv import TotalVariation
  from unittests import _Input
  from unittests.helpers import seed_all
  from unittests.helpers.testers import MetricTester
label_desc: Use image node_id 1 for calling the TotalVariationTester obj's underlying member method code with example usage: obj.update(img) without return types