code: def test_normalize_arg_false():
      """Test that normalize argument works as expected."""
      img = torch.rand(2, 3, 299, 299)
      metric = InceptionScore(normalize=False)
      with pytest.raises(
          ValueError,
          match="Expecting image as torch.Tensor with dtype=torch.uint8",
      ):
          metric.update(img)
  
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 7 for calling a global function with example usage: test_normalize_arg_false() without return types