code: def _verify_norm_type(norm_type: str):
      if norm_type not in ("batch", "spectral", "instance", "identity"):
          raise ValueError(f"Unrecognized norm_type {norm_type}")
  
imports: import math
  from functools import partial
  from typing import Callable, List, Optional, Union
  import torch
  import torch.nn
  import torch.nn.functional
  from torch import Tensor
  from torch.nn.utils.parametrizations import spectral_norm
  from ._discriminator import Discriminator
label_desc: Use image node_id 1 for calling a global function with example usage: _verify_norm_type(norm_type) without return types