code: def test_kid_extra_parameters():
      """Test that the different input arguments raises expected errors if wrong."""
      with pytest.raises(
          ValueError,
          match="Argument `subsets` expected to be integer larger than 0",
      ):
          KernelInceptionDistance(subsets=-1)
  
      with pytest.raises(
          ValueError,
          match="Argument `subset_size` expected to be integer larger than 0",
      ):
          KernelInceptionDistance(subset_size=-1)
  
      with pytest.raises(
          ValueError,
          match="Argument `degree` expected to be integer larger than 0",
      ):
          KernelInceptionDistance(degree=-1)
  
      with pytest.raises(
          ValueError,
          match="Argument `gamma` expected to be `None` or float larger than 0",
      ):
          KernelInceptionDistance(gamma=-1)
  
      with pytest.raises(
          ValueError,
          match="Argument `coef` expected to be float larger than 0",
      ):
          KernelInceptionDistance(coef=-1)
  
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.kid import KernelInceptionDistance
  from torchmetrics.utilities.imports import _TORCH_FIDELITY_AVAILABLE
label_desc: Use image node_id 4 for calling a global function with example usage: test_kid_extra_parameters() without return types