242632ef7bbc1d44ccc0858d6a7b868faa6a80b5,snntoolbox/target_simulators/INI_target_sim.py,SNN,init_log_vars,#SNN#,552

Before Change



        if "spikecounts_n_b_l_t" in settings["log_vars"] or "spikecounts" in \
                settings["plot_vars"]:
            self.spikecounts_n_b_l_t = []
            for layer in self.snn.layers:
                if not hasattr(layer, "spikecounts"):
                    continue
                shape = list(layer.output_shape) + [num_timesteps]
                self.spikecounts_n_b_l_t.append((np.zeros(shape, "float32"),
                                                 layer.name))

        if "mem_n_b_l_t" in settings["log_vars"]:
            self.mem_n_b_l_t = []
            for layer in self.snn.layers:
                if not hasattr(layer, "mem"):

After Change


            self.input_b_l_t = np.empty(
                list(self.snn.input_shape) + [num_timesteps], "int32")

        if any({"spiketrains", "spikerates", "correlation",
                "hist_spikerates_activations"} & settings["plot_vars"]) \
                or "spiketrains_n_b_l_t" in settings["log_vars"]:
            self.spiketrains_n_b_l_t = []
            for layer in self.snn.layers:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 242632ef7bbc1d44ccc0858d6a7b868faa6a80b5
Time: 2017-03-23
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/target_simulators/INI_target_sim.py
Class Name: SNN
Method Name: init_log_vars


Project Name: biocore/scikit-bio
Commit Name: 477d91fafb5ecdc5e680ac70b32e9ea247a3be00
Time: 2014-05-07
Author: jai.rideout@gmail.com
File Name: skbio/maths/stats/distance/base.py
Class Name: CategoricalStats
Method Name: _df_to_vector


Project Name: deepmind/dm_control
Commit Name: 67ed879090f715900702752b88652ac403a931ba
Time: 2018-10-10
Author: alimuldal@google.com
File Name: dm_control/mujoco/engine.py
Class Name: Physics
Method Name: check_invalid_state


Project Name: biocore/scikit-bio
Commit Name: 7f20bc80922c8f24ceece7e335750655179090d2
Time: 2015-04-29
Author: ebolyen@gmail.com
File Name: skbio/io/_base.py
Class Name:
Method Name: _decode_qual_to_phred