4a2c73ef887285cd13e5be1fe05dcb19c0ca9e71,theano/sandbox/cuda/dnn.py,GpuDnnSoftmax,grad,#GpuDnnSoftmax#Any#Any#,2248
Before Change
def grad(self, inp, grads):
x, = inp
g_sm, = grads
sm = self.make_node(x).outputs[0]
return [GpuDnnSoftmaxGrad(
self.tensor_format,
self.algo,
self.mode
After Change
def grad(self, inp, grads):
x, = inp
g_sm, = grads
sm = self(x)
return [GpuDnnSoftmaxGrad(
self.tensor_format,
self.algo,
self.mode
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: Theano/Theano
Commit Name: 4a2c73ef887285cd13e5be1fe05dcb19c0ca9e71
Time: 2016-12-12
Author: lamblinp@iro.umontreal.ca
File Name: theano/sandbox/cuda/dnn.py
Class Name: GpuDnnSoftmax
Method Name: grad
Project Name: ncullen93/torchsample
Commit Name: 2154d789ef0d79debe2cc522751ae7072e8b22dc
Time: 2017-04-28
Author: ncullen@modv-vlan533.0527.apn.wlan.wireless-pennnet.upenn.edu
File Name: torchsample/modules/super_module.py
Class Name: SuperModule
Method Name: predict_loader
Project Name: NifTK/NiftyNet
Commit Name: 9e7f77ef319e54bfeb69635671b719100dbaf36e
Time: 2017-08-07
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name: ImageReader
Method Name: shapes