def7757f95169189afbee2d4ac44849fd4d5206a,snntoolbox/core/inisim.py,,init_neurons,#Any#Any#Any#,249
Before Change
output_shape = self.get_output_shape_for(input_shape)
self.v_thresh = shared_x(settings["v_thresh"], name="v_thresh")
self.tau_refrac = tau_refrac
self.mem = theano.shared(np.zeros(output_shape, floatX))
self.layer_type = self.__class__.__name__
if settings["tau_refrac"] > 0:
self.refrac_until = theano.shared(np.zeros(output_shape, floatX))
After Change
self.v_thresh = theano.shared(settings["v_thresh"])
self.tau_refrac = tau_refrac
self.mem = k.zeros(output_shape)
self.time = theano.shared(np.float32(0))
if settings["tau_refrac"] > 0:
self.refrac_until = k.zeros(output_shape)
if settings["verbose"] > 1:

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: def7757f95169189afbee2d4ac44849fd4d5206a
Time: 2016-11-28
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/core/inisim.py
Class Name:
Method Name: init_neurons
Project Name: pymc-devs/pymc3
Commit Name: 0f45720766709b055bfd4ef7d19102f6653a6f43
Time: 2017-03-17
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/tests/test_variational_inference.py
Class Name: Base
Method Name: test_aevb
Project Name: senarvi/theanolm
Commit Name: f44453ae06692386220594a9a933bc2a07d79f01
Time: 2015-09-18
Author: seppo.git@marjaniemi.com
File Name: theanolm/src/rnnlm.py
Class Name: RNNLM
Method Name: __init__
Project Name: keras-team/keras
Commit Name: 766572b5b8c0617e1261809f1916d29bb770a769
Time: 2016-12-19
Author: francois.chollet@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: variable