code: def _global_perturb_func1_default(
      inputs: TensorOrTupleOfTensorsGeneric,
  ) -> TensorOrTupleOfTensorsGeneric:
      return _global_perturb_func1(inputs)[1]
  
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 Attribution, DeepLift, FeatureAblation, IntegratedGradients, Saliency
  from captum.metrics import infidelity, infidelity_perturb_func_decorator
  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
  from torch.nn import Module
label_desc: Use image node_id 5 for calling a global function with example usage: _global_perturb_func1_default(inputs) and returns: _global_perturb_func1