code: def mock_no_torchvision():
      with patch.dict("sys.modules", {"torchvision": None}):
          yield torchvision
  
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 4 for calling a global function with example usage: mock_no_torchvision() without return types