148f63289a3fb4b809d6b5d63feaddf3e64bed26,spynnaker/pyNN/models/neural_projections/connectors/multapse_connector.py,MultapseConnector,create_synaptic_block,#MultapseConnector#Any#Any#Any#Any#Any#Any#Any#,202

Before Change


                    "population: reduce the value specified in the connector")
        else:
            for source in source_neuron_ids:
                target_neuron_ids.append(numpy.random.choice(numpy.concatenate(
                    [numpy.arange(0, source),
                     numpy.arange(source + 1, post_vertex_slice.hi_atom + 1)]),
                    size=1, replace=self._with_replacement))

        block["source"] = source_neuron_ids

After Change


            n_connections, dtype=AbstractConnector.NUMPY_SYNAPSES_DTYPE)

        // Create pairs between the pre- and post-vertex slices
        pairs = numpy.mgrid[pre_vertex_slice.as_slice,
                            post_vertex_slice.as_slice].T.reshape((-1, 2))

        // Deal with case where self-connections aren"t allowed
        if not self._allow_self_connections and (
            self._pre_population is self._post_population):
            pairs = pairs[pairs[:,0] != pairs[:,1]]

        // Now do the actual random choice from the available connections
        try:
            chosen = numpy.random.choice(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 148f63289a3fb4b809d6b5d63feaddf3e64bed26
Time: 2018-03-01
Author: andrew.gait@manchester.ac.uk
File Name: spynnaker/pyNN/models/neural_projections/connectors/multapse_connector.py
Class Name: MultapseConnector
Method Name: create_synaptic_block


Project Name: SPFlow/SPFlow
Commit Name: 3485c83fc9b045356c405fec9008f2ff6220edd7
Time: 2018-09-03
Author: molina@cs.tu-darmstadt.de
File Name: src/spn/experiments/conditional/img_tools.py
Class Name:
Method Name: stitch_imgs


Project Name: google-research/google-research
Commit Name: 010489fde45657adae64a7daf8b5bc7709b274ef
Time: 2020-12-28
Author: barron@google.com
File Name: jaxnerf/nerf/model_utils.py
Class Name: MLP
Method Name: apply


Project Name: daavoo/pyntcloud
Commit Name: a8496862c23f5cad75b5e441b244c3bccb7883f3
Time: 2016-11-04
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/structures/voxelgrid.py
Class Name: VoxelGrid
Method Name: build