9b254aaf76efaa0a3789a67137c9817684862cf9,snntoolbox/simulation/target_simulators/loihi_target_sim.py,SNN,build_dense,#SNN#Any#,96

Before Change



        self.set_biases(biases)

        scale = self.threshold_scales[self.layers[-2].name]
        self.connect(weights, scale)

    def build_convolution(self, layer):
        from snntoolbox.simulation.utils import build_convolution

After Change


            weights, biases = self._spiking_layers[-1].get_weights()
            weights = fix_flatten(weights, self.flatten_shapes.pop(),
                                  self.data_format)
            self._spiking_layers[-1].set_weights([weights, biases])

    def build_convolution(self, layer):
        pass
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 9b254aaf76efaa0a3789a67137c9817684862cf9
Time: 2019-07-11
Author: bodo.rueckauer@intel.com
File Name: snntoolbox/simulation/target_simulators/loihi_target_sim.py
Class Name: SNN
Method Name: build_dense


Project Name: jhfjhfj1/autokeras
Commit Name: 7977092d28d710ed325e4d91816fe39f504c06b8
Time: 2018-05-07
Author: jin@tamu.edu
File Name: tests/test_layer_transformer.py
Class Name:
Method Name: test_wider_bn