249227a3fbf93b3bdb574602470665d421fb4540,snntoolbox/tests/rate_simulation.py,,,#,153

Before Change


    // Compute the ANN activations
    layers[0].set_activations(x)
    layers[1].set_activations(layers[0].a)
    print(layers[0].a)
    print(layers[1].a)
    // Start simulation
    t_ind = 0

After Change


//        print (error1)
        out_spikes, out_error = layers[1].update_neurons(in_spikes, error, t,
                                                         t_ind)
        sp2 += len(out_spikes.nonzero()[0])

//        print (out_spikes)
//        print (error2)
        t_ind += 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 249227a3fbf93b3bdb574602470665d421fb4540
Time: 2016-08-02
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/tests/rate_simulation.py
Class Name:
Method Name:


Project Name: biocore/scikit-bio
Commit Name: d4498d719f830e816aa383fa7d5b9c86f7f04a49
Time: 2014-07-30
Author: jsanders@oeb.harvard.edu
File Name: skbio/math/stats/evolve/hommola.py
Class Name:
Method Name: hommola_cospeciation


Project Name: ultralytics/yolov3
Commit Name: 2df8d7e9f6fd3a3e0233029bf39d4db66807a229
Time: 2019-03-15
Author: glenn.jocher@ultralytics.com
File Name: utils/utils.py
Class Name:
Method Name: non_max_suppression


Project Name: data61/python-paillier
Commit Name: 92857ccbfb8db827ce3c15e6fa86b3eba94d7cac
Time: 2017-06-14
Author: giorgio.patrini@anu.edu.au
File Name: examples/paillier_logistic_regression.py
Class Name: PaillierClassifier
Method Name: encrypted_predict