code: def test_inception_model_probability():
      x = torch.rand(2, 3, 299, 299)
      y = InceptionModel(return_features=False)(x)
      assert pytest.approx(torch.sum(y[0]).item()) == 1.0
      assert pytest.approx(torch.sum(y[1]).item()) == 1.0
      assert torch.all(0 <= y)
  
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 3 for calling a global function with example usage: test_inception_model_probability() without return types