code: def _single_input_one_sample_batch_scalar_shapley_assert(
      self, func: Callable
  ) -> None:
      inp = torch.tensor([[2.0, 10.0, 3.0]], requires_grad=True)
      mask = torch.tensor([[0, 0, 1]])
  
      self._shapley_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, Tuple, Union
  import torch
  from captum._utils.typing import BaselineType, TensorOrTupleOfTensorsGeneric
  from captum.attr._core.shapley_value import ShapleyValues, ShapleyValueSampling
  from tests.helpers.basic import assertTensorTuplesAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicModel_MultiLayer, BasicModel_MultiLayer_MultiInput, BasicModelBoolInput
label_desc: Use image node_id 30 for calling the Test obj's underlying member method code with example usage: obj._single_input_one_sample_batch_scalar_shapley_assert(func) without return types