7eb6dda2eacee748a3c0ee83c54326e2b6153488,art/classifiers/ensemble_unittest.py,TestEnsembleClassifier,test_layers,#TestEnsembleClassifier#,151

Before Change


        self.assertTrue(keras_model._output.name, "output0")

    def test_layers(self):
        self._test_layers(custom_activation=False)
        self._test_layers(custom_activation=True)

    def _test_layers(self, custom_activation=False):
        // Get MNIST

After Change


            self.ensemble.fit_generator(None)

    def test_layers(self):
        with self.assertRaises(NotImplementedError):
            self.ensemble.get_activations(self.mnist[1][0], layer=2)
    
    @staticmethod
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7eb6dda2eacee748a3c0ee83c54326e2b6153488
Time: 2018-11-30
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/ensemble_unittest.py
Class Name: TestEnsembleClassifier
Method Name: test_layers


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7679bdc57a29f1195e1b11b6b140abd559ae8dea
Time: 2019-03-08
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/wrapper_unittest.py
Class Name: TestMixinWKerasClassifier
Method Name: test_layers


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 34c9172185fc79e6a971919f910fbbb7e945f5e5
Time: 2019-03-08
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/keras_unittest.py
Class Name: TestKerasClassifier
Method Name: test_layers