code: def test_inception_extractor_wrong_inputs():
      with pytest.raises(
          ValueError, match=r"Inputs should be a tensor of dim 4"
      ):
          InceptionModel(return_features=True)(torch.rand(2))
  
      with pytest.raises(
          ValueError, match=r"Inputs should be a tensor with 3 channels"
      ):
          InceptionModel(return_features=True)(torch.rand(2, 2, 2, 0))
  
file_path: ignite/tests/ignite/metrics/gan/test_utils.py
imports: from typing import Callable, Optional, Union
  from unittest.mock import patch
  import pytest
  import torch
  import torchvision
  from ignite.metrics.gan.utils import _BaseInceptionMetric, InceptionModel
label_desc: Use image node_id 2 for calling a global function with example usage: test_inception_extractor_wrong_inputs() without return types