code: def test_dict_tuple_key(self) -> None:
      baseline_values: Dict[Union[str, Tuple[str, ...]], List] = {
          ("f1", "f2"): [(1, "1"), (2, "2"), (3, "3")],
          "f3": [4, 5],
      }
  
      baselines = ProductBaselines(baseline_values)
  
      baseline_sample = baselines()
  
      self.assertIsInstance(baseline_sample, dict)
      baseline_sample = cast(dict, baseline_sample)
  
      self.assertEqual(len(baseline_sample), 3)
  
      self.assertIn(
          (baseline_sample["f1"], baseline_sample["f2"]),
          baseline_values[("f1", "f2")],
      )
      self.assertIn(baseline_sample["f3"], baseline_values["f3"])
  
file_path: captum/tests/attr/test_baselines.py
imports: from typing import cast, Dict, List, Tuple, Union
  from captum.attr._utils.baselines import ProductBaselines
  from tests.helpers.basic import BaseTest
label_desc: Use image node_id 3 for calling the TestProductBaselines obj's underlying member method code with example usage: obj.test_dict_tuple_key() without return types