class_docstr: A unittest class for testing Feature Collision attack.
class_docstr_tok: ["A","unittest","class","for","testing","Feature","Collision","attack","."]
code: def setUpClass(cls):
      master_seed(seed=1234)
      super().setUpClass()
  
      cls.n_train = 10
      cls.n_test = 10
      cls.x_train_mnist = cls.x_train_mnist[0 : cls.n_train]
      cls.y_train_mnist = cls.y_train_mnist[0 : cls.n_train]
      cls.x_test_mnist = cls.x_test_mnist[0 : cls.n_test]
      cls.y_test_mnist = cls.y_test_mnist[0 : cls.n_test]
  
file_path: adversarial-robustness-toolbox/tests/attacks/test_feature_collision.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import unittest
  import numpy
  from art.attacks.poisoning.feature_collision_attack import FeatureCollisionAttack
  from tests.utils import TestBase, master_seed, get_image_classifier_kr
label_desc: Use image node_id 1 for calling the TestFeatureCollision obj's underlying member method code with example usage: obj.setUpClass(cls) without return types