5f03d53213ca15b2c642188102de87ab4dc828d6,tests/estimators/classification/test_deeplearning_common.py,,test_loss_functions,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,121

Before Change


                np.testing.assert_array_almost_equal(loss_gradient_value[99, 14, :, 0], loss_grad_exp[loss_name])

    except NotImplementedError as e:
        warnings.warn(UserWarning(e))


def test_pickle(image_dl_estimator, image_dl_estimator_defended, tmp_path):
    full_path = os.path.join(tmp_path, "my_classifier.p")

After Change


                np.testing.assert_array_almost_equal(loss_gradient_value[99, 14, :, 0], loss_grad_exp[loss_name])

    except ARTTestException as e:
        add_warning(e)


def test_pickle(image_dl_estimator, image_dl_estimator_defended, tmp_path):
    try:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 12

Non-data size: 3

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_loss_functions


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_fit


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_save


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_nb_classes


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_fit_kwargs


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_layers


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_learning_phase


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_shapes


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_repr


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_fit_image_generator


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_save


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 5f03d53213ca15b2c642188102de87ab4dc828d6
Time: 2020-09-23
Author: killian.levacher@ibm.com
File Name: tests/estimators/classification/test_deeplearning_common.py
Class Name:
Method Name: test_input_shape