6f17d8d1e5972fe0a16e7ce91c827080ad1a42de,cleverhans/utils_keras.py,KerasModelWrapper,get_logits,#KerasModelWrapper#Any#,155

Before Change


        
        logits_name = self._get_logits_name()

        return self.get_layer(x, logits_name)

    def get_probs(self, x):
        
        :param x: A symbolic representation of the network input.

After Change


        :return: A symbolic representation of the logits
        
        logits_name = self._get_logits_name()
        logits_layer = self.get_layer(x, logits_name)

        // Need to deal with the case where softmax is part of the
        // logits layer
        if logits_name == self._get_softmax_name():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/cleverhans
Commit Name: 6f17d8d1e5972fe0a16e7ce91c827080ad1a42de
Time: 2018-03-20
Author: nishant@unify.id
File Name: cleverhans/utils_keras.py
Class Name: KerasModelWrapper
Method Name: get_logits


Project Name: rtavenar/tslearn
Commit Name: 6f82bff59cab1c4309c73874a484869eb0536a4b
Time: 2019-07-09
Author: givdwiel.vandewiele@ugent.be
File Name: tslearn/shapelets.py
Class Name: ShapeletModel
Method Name: _set_weights_false_conv


Project Name: rtavenar/tslearn
Commit Name: 6f82bff59cab1c4309c73874a484869eb0536a4b
Time: 2019-07-09
Author: givdwiel.vandewiele@ugent.be
File Name: tslearn/shapelets.py
Class Name: ShapeletModel
Method Name: shapelets_