b2614e6be454735b2e9caed9fc3a79dd7d64420d,brian2/groups/group.py,Group,__init__,#Group#,64

Before Change


            self.codeobj_class = None

        // Add a reference to the synapses to the template
        self.specifiers["_indices"] = Variable("_indices", Unit(1),
                                               self.indices)

        self._group_attribute_access_active = True

After Change


                                  "provide 1-d indexing"))
            self.index = GroupIndices("_element", N)
        if not hasattr(self, "indices"):
            self.indices = {"_element": self.index}
            
        if not hasattr(self, "codeobj_class"):
            self.codeobj_class = None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: brian-team/brian2
Commit Name: b2614e6be454735b2e9caed9fc3a79dd7d64420d
Time: 2013-07-25
Author: marcel.stimberg@ens.fr
File Name: brian2/groups/group.py
Class Name: Group
Method Name: __init__


Project Name: Cadene/pretrained-models.pytorch
Commit Name: b2074ddf9d8bc2069d66976fea58a52f40238496
Time: 2017-11-16
Author: remi.cadene@icloud.com
File Name: pretrainedmodels/nasnet.py
Class Name:
Method Name:


Project Name: mil-tokyo/webdnn
Commit Name: 562df33def742b3970544a7cc8d481a4241da8f3
Time: 2017-06-30
Author: y.kikura@gmail.com
File Name: test/webdnn_test/graph_test/operators_test/scalar_affine.py
Class Name:
Method Name: test_every_order