code: def _perturb_func(inputs: Tensor) -> Tensor:
      ...
  
imports: import typing
  from typing import Any, Callable, cast, List, Tuple, Union
  import torch
  from captum._utils.typing import BaselineType, TargetType, TensorOrTupleOfTensorsGeneric
  from captum.attr import DeepLift, GradientShap, GuidedBackprop, IntegratedGradients, Saliency
  from captum.metrics import sensitivity_max
  from captum.metrics._core.sensitivity import default_perturb_func
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicModel2, BasicModel4_MultiArgs, BasicModel_ConvNet_One_Conv, BasicModel_MultiLayer
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: _perturb_func(inputs) without return types