code: def _single_input_scalar_kernel_shap_assert(
      self, func: Callable
  ) -> None:
      inp = torch.tensor([[2.0, 10.0, 3.0]], requires_grad=True)
      mask = torch.tensor([[0, 0, 1]])
  
      self._kernel_shap_test_assert(
          func,
          inp,
          [[79.0, 79.0, 21.0]],
          feature_mask=mask,
          perturbations_per_eval=(1,),
          target=None,
      )
  
imports: import io
  import unittest
  import unittest.mock
  from typing import Any, Callable, List, Tuple, Union
  import torch
  from captum._utils.typing import BaselineType, TensorOrTupleOfTensorsGeneric
  from captum.attr._core.kernel_shap import KernelShap
  from tests.helpers.basic import assertTensorAlmostEqual, assertTensorTuplesAlmostEqual, BaseTest, set_all_random_seeds
  from tests.helpers.basic_models import BasicLinearModel, BasicModel_MultiLayer, BasicModel_MultiLayer_MultiInput
label_desc: Use image node_id 18 for calling the Test obj's underlying member method code with example usage: obj._single_input_scalar_kernel_shap_assert(func) without return types