code: def test_7_pytorch_mnist_targeted(self):
      classifier = get_image_classifier_pt()
      x_test = np.swapaxes(self.x_test_mnist, 1, 3).astype(np.float32)
      self._test_mnist_targeted(classifier, x_test)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import unittest
  import numpy
  from art.attacks.evasion.iterative_method import BasicIterativeMethod
  from art.estimators.classification.keras import KerasClassifier
  from art.estimators.estimator import BaseEstimator, LossGradientsMixin
  from art.utils import get_labels_np_array, random_targets
  from tests.attacks.utils import backend_test_classifier_type_check_fail
  from tests.utils import TestBase, get_image_classifier_kr, get_image_classifier_pt, get_image_classifier_tf, get_tabular_classifier_kr, get_tabular_classifier_pt, get_tabular_classifier_tf
label_desc: Use image node_id 9 for calling the TestIterativeAttack obj's underlying member method code with example usage: obj.test_7_pytorch_mnist_targeted() without return types