code: def _validate_noise_tunnel_type(
      nt_type: str, supported_noise_tunnel_types: List[str]
  ) -> None:
      assert nt_type in supported_noise_tunnel_types, (
          "Noise types must be either `smoothgrad`, `smoothgrad_sq` or `vargrad`. "
          "Given {}".format(nt_type)
      )
  
imports: import typing
  from inspect import signature
  from typing import Any, Callable, List, Tuple, TYPE_CHECKING, Union
  import torch
  from captum._utils.common import _format_baseline, _format_output, _format_tensor_into_tuples, _validate_input
  from captum._utils.typing import BaselineType, Literal, TargetType, TensorOrTupleOfTensorsGeneric
  from captum.attr._utils.approximation_methods import SUPPORTED_METHODS
  from torch import Tensor
label_desc: Use image node_id 4 for calling a global function with example usage: _validate_noise_tunnel_type(nt_type, supported_noise_tunnel_types) without return types