code: def test_run_attacks_size_return_indices(self):
      result = mia.run_attacks(
          get_test_input(100, 100),
          SlicingSpec(
              entire_dataset=False,
              by_class=True,
              by_percentiles=True,
              by_classification_correctness=True,
          ),
          (AttackType.LOGISTIC_REGRESSION,),
          return_slice_indices=True,
      )
  
      for attack_result in result.single_attack_results:
          self.assertIsNotNone(attack_result.train_indices)
          self.assertIsNotNone(attack_result.test_indices)
  
imports: from unittest import mock
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow_privacy.privacy.privacy_tests import epsilon_lower_bound
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack import membership_inference_attack
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack import models
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import AttackInputData
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import AttackType
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import DataSize
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import SingleSliceSpec
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import SlicingFeature
  from tensorflow_privacy.privacy.privacy_tests.membership_inference_attack.data_structures import SlicingSpec
label_desc: Use image node_id 13 for calling the RunAttacksTestOnMultilabelData obj's underlying member method code with example usage: obj.test_run_attacks_size_return_indices() without return types