7fb43a1170746644db33cb8a5f10fe94298d85da,art/classifiers/tensorflow.py,TFClassifier,predict,#TFClassifier#Any#Any#,69
Before Change
import tensorflow as tf
// Apply defences
x = self._apply_defences_predict(x)
// Create feed_dict
fd = {self._input_ph: x}
if self._learning is not None:
After Change
import tensorflow as tf
// Apply defences
x_ = self._apply_processing(x)
x_ = self._apply_defences_predict(x_)
// Create feed_dict
fd = {self._input_ph: x_}
if self._learning is not None:
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7fb43a1170746644db33cb8a5f10fe94298d85da
Time: 2018-06-26
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/tensorflow.py
Class Name: TFClassifier
Method Name: predict
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7fb43a1170746644db33cb8a5f10fe94298d85da
Time: 2018-06-26
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/pytorch.py
Class Name: PyTorchClassifier
Method Name: predict
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: e21ef336207b0f9ae378c77430d298945827830a
Time: 2019-02-12
Author: M.N.Tran@ibm.com
File Name: art/classifiers/pytorch.py
Class Name: PyTorchClassifier
Method Name: get_activations
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7fb43a1170746644db33cb8a5f10fe94298d85da
Time: 2018-06-26
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/tensorflow.py
Class Name: TFClassifier
Method Name: get_activations
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 7fb43a1170746644db33cb8a5f10fe94298d85da
Time: 2018-06-26
Author: Maria-Irina.Nicolae@ibm.com
File Name: art/classifiers/keras.py
Class Name: KerasClassifier
Method Name: predict