71d61f102189f8b7337567ca34ad590f2ddf4808,snntoolbox/simulation/backends/inisim/ttfs.py,SpikeMaxPooling2D,call,#SpikeMaxPooling2D#Any#Any#,414

Before Change


    def call(self, x, mask=None):
        Layer functionality.

        return MaxPooling2D.call(self, x)


custom_layers = {"SpikeFlatten": SpikeFlatten,
                 "SpikeDense": SpikeDense,

After Change


        // transmit new spikes. The output psp is nonzero wherever there has been
        // an input spike at any time during simulation.

        input_psp = MaxPooling2D.call(self, x)

        if self.spiketrain is not None:
            new_spikes = k.tf.logical_xor(k.greater(input_psp, 0),
                                          k.greater(self.last_spiketimes, 0))
            self.add_update([(self.spiketrain,
                              self.time * k.cast(new_spikes, k.floatx()))])

        psp = self.get_psp(input_psp)

        return k.cast(psp, k.floatx())


custom_layers = {"SpikeFlatten": SpikeFlatten,
                 "SpikeDense": SpikeDense,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 5

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 71d61f102189f8b7337567ca34ad590f2ddf4808
Time: 2018-02-27
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/simulation/backends/inisim/ttfs.py
Class Name: SpikeMaxPooling2D
Method Name: call


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 71d61f102189f8b7337567ca34ad590f2ddf4808
Time: 2018-02-27
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/simulation/backends/inisim/ttfs_dyn_thresh.py
Class Name: SpikeMaxPooling2D
Method Name: call


Project Name: tensorflow/mesh
Commit Name: 080128e9622466d3cc3d9e819b5563a4db277e6d
Time: 2020-10-20
Author: sharannarang@google.com
File Name: mesh_tensorflow/transformer/evolved_transformer.py
Class Name: DecoderConvolutionalLayer
Method Name: call


Project Name: deepdrive/deepdrive
Commit Name: 4b662913203b48455f93ac7401c8dcbf9aa97d47
Time: 2019-06-22
Author: cquiter@gmail.com
File Name: sim/uepy_client.py
Class Name:
Method Name: rpc


Project Name: stanford-mast/nn_dataflow
Commit Name: 6725d504795b553d40e862a0c9887622358cd913
Time: 2019-12-14
Author: 16973185+Pingziwalk@users.noreply.github.com
File Name: nn_dataflow/tests/tool_test/test_nn_dataflow_search.py
Class Name: TestNNDataflowSearch
Method Name: _call


Project Name: snipsco/snips-nlu
Commit Name: 7ec22d75d5ab74586d1bb928ebab8775b421f3fa
Time: 2019-08-08
Author: adrien.ball@snips.ai
File Name: snips_nlu/cli/utils.py
Class Name:
Method Name: install_remote_package


Project Name: stanford-mast/nn_dataflow
Commit Name: 6725d504795b553d40e862a0c9887622358cd913
Time: 2019-12-14
Author: 16973185+Pingziwalk@users.noreply.github.com
File Name: nn_dataflow/tests/tool_test/test_nn_layer_stats.py
Class Name: TestNNLayerStats
Method Name: _call