code: def fix_get_mnist_subset(get_mnist_dataset):
      (x_train_mnist, y_train_mnist), (
          x_test_mnist,
          y_test_mnist,
      ) = get_mnist_dataset
      n_train = 100
      n_test = 11
      yield x_train_mnist[:n_train], y_train_mnist[
          :n_train
      ], x_test_mnist[:n_test], y_test_mnist[:n_test]
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import numpy
  import pytest
  from art.attacks.evasion import FastGradientMethod
  from art.estimators.estimator import BaseEstimator, LossGradientsMixin
  from tests.attacks.utils import backend_check_adverse_values, backend_test_defended_images
  from tests.attacks.utils import backend_test_random_initialisation_images, backend_targeted_images
  from tests.attacks.utils import backend_targeted_tabular, backend_untargeted_tabular, backend_masked_images
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import ExpectedValue, ARTTestException
label_desc: Use image node_id 1 for calling a global function with example usage: fix_get_mnist_subset(get_mnist_dataset) without return types