code: def test_no_train_network_missing_torch_fidelity():
      """Assert that NoTrainInceptionV3 raises an error if torch-fidelity is not installed."""
      with pytest.raises(
          ModuleNotFoundError,
          match="NoTrainInceptionV3 module requires that `Torch-fidelity` is installed.*",
      ):
          NoTrainInceptionV3(
              name="inception-v3-compat", features_list=["2048"]
          )
  
imports: import pickle
  from contextlib import nullcontext
  from functools import partial
  import pytest
  import torch
  from torch.nn import Module
  from torch.utils.data import Dataset
  from torchmetrics.image.fid import FrechetInceptionDistance, NoTrainInceptionV3
  from torchmetrics.utilities.imports import _TORCH_FIDELITY_AVAILABLE
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_train_network_missing_torch_fidelity() without return types