code: def test_multi_input_ablation_with_mask(self) -> None:
      net = BasicModel_MultiLayer_MultiInput()
      inp1 = torch.tensor([[23.0, 100.0, 0.0], [20.0, 50.0, 30.0]])
      inp2 = torch.tensor([[20.0, 50.0, 30.0], [0.0, 100.0, 0.0]])
      inp3 = torch.tensor([[0.0, 100.0, 10.0], [2.0, 10.0, 3.0]])
      mask1 = torch.tensor([[1, 1, 1], [0, 1, 0]])
      mask2 = torch.tensor([[0, 1, 2]])
      mask3 = torch.tensor([[0, 1, 2], [0, 0, 0]])
      expected = (
          [[492.0, 492.0, 492.0], [200.0, 200.0, 200.0]],
          [[80.0, 200.0, 120.0], [0.0, 400.0, 0.0]],
          [[0.0, 400.0, 40.0], [60.0, 60.0, 60.0]],
      )
      self._ablation_test_assert(
          net,
          net.model.linear2,
          (inp1, inp2, inp3),
          expected,
          additional_input=(1,),
          feature_mask=(mask1, mask2, mask3),
      )
      self._ablation_test_assert(
          net,
          net.model.linear2,
          (inp1, inp2),
          expected[0:1],
          additional_input=(inp3, 1),
          feature_mask=(mask1, mask2),
          perturbations_per_eval=(1, 2, 3),
      )
      expected_with_baseline = (
          [[468.0, 468.0, 468.0], [184.0, 192.0, 184.0]],
          [[68.0, 188.0, 108.0], [-12.0, 388.0, -12.0]],
          [[-16.0, 384.0, 24.0], [12.0, 12.0, 12.0]],
      )
      self._ablation_test_assert(
          net,
          net.model.linear2,
          (inp1, inp2, inp3),
          expected_with_baseline,
          additional_input=(1,),
          feature_mask=(mask1, mask2, mask3),
          baselines=(2, 3.0, 4),
          perturbations_per_eval=(1, 2, 3),
      )
  
file_path: captum/tests/attr/neuron/test_neuron_ablation.py
imports: import unittest
  from typing import Any, Callable, Tuple, Union
  import torch
  from captum._utils.typing import BaselineType, TensorLikeList, TensorOrTupleOfTensorsGeneric
  from captum.attr._core.neuron.neuron_feature_ablation import NeuronFeatureAblation
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicModel_ConvNet_One_Conv, BasicModel_MultiLayer, BasicModel_MultiLayer_MultiInput
  from torch import Tensor
  from torch.nn import Module
label_desc: Use image node_id 5 for calling the Test obj's underlying member method code with example usage: obj.test_multi_input_ablation_with_mask() without return types