code: def fix_get_cifar10_subset(get_cifar10_dataset):
      (x_train_cifar10, y_train_cifar10), (
          x_test_cifar10,
          y_test_cifar10,
      ) = get_cifar10_dataset
      n_train = 100
      n_test = 11
      yield x_train_cifar10[:n_train], y_train_cifar10[
          :n_train
      ], x_test_cifar10[:n_test], y_test_cifar10[:n_test]
  
file_path: adversarial-robustness-toolbox/tests/attacks/evasion/test_composite_adversarial_attack.py
imports: import logging
  import numpy
  import pytest
  from art.attacks.evasion import CompositeAdversarialAttackPyTorch
  from art.estimators.estimator import BaseEstimator, LossGradientsMixin
  from art.estimators.classification.classifier import ClassifierMixin
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ARTTestException, get_cifar10_image_classifier_pt
label_desc: Use image node_id 1 for calling a global function with example usage: fix_get_cifar10_subset(get_cifar10_dataset) without return types