code: def test_is_update_compute():
      """Test that inception score works as expected."""
      metric = InceptionScore()
  
      for _ in range(2):
          img = torch.randint(
              0, 255, (10, 3, 299, 299), dtype=torch.uint8
          )
          metric.update(img)
  
      mean, std = metric.compute()
      assert mean >= 0.0
      assert std >= 0.0
  
file_path: torchmetrics/tests/unittests/image/test_inception.py
imports: import pickle
  from contextlib import nullcontext
  import pytest
  import torch
  from torch.nn import Module
  from torch.utils.data import Dataset
  from torchmetrics.image.inception import InceptionScore
  from torchmetrics.utilities.imports import _TORCH_FIDELITY_AVAILABLE
label_desc: Use image node_id 4 for calling a global function with example usage: test_is_update_compute() without return types