54ad58d10cb8a0d96507e075cdc26730b9e86e7f,bindsnet/learning/__init__.py,MSTDP,__init__,#MSTDP#Any#Any#Any#,364

Before Change


            )

        self.p_plus = torch.zeros(self.source.n)
        self.p_minus = torch.zeros(self.target.n)
        self.eligibility = torch.zeros(self.source.n, self.target.n)

    def _connection_update(self, **kwargs) -> None:
        // language=rst

After Change


                "This learning rule is not supported for this Connection type."
            )

        self.tc_plus = torch.tensor(kwargs.get("tc_plus", 20.0))
        self.tc_minus = torch.tensor(kwargs.get("tc_minus", 20.0))

    def _connection_update(self, **kwargs) -> None:
        // language=rst
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: BindsNET/bindsnet
Commit Name: 54ad58d10cb8a0d96507e075cdc26730b9e86e7f
Time: 2019-04-01
Author: danjsaund@gmail.com
File Name: bindsnet/learning/__init__.py
Class Name: MSTDP
Method Name: __init__


Project Name: BindsNET/bindsnet
Commit Name: 54ad58d10cb8a0d96507e075cdc26730b9e86e7f
Time: 2019-04-01
Author: danjsaund@gmail.com
File Name: bindsnet/learning/__init__.py
Class Name: MSTDPET
Method Name: __init__


Project Name: RaRe-Technologies/gensim
Commit Name: 8c2f42c75f3ec6bbb7676375fd3849324477afb5
Time: 2012-09-06
Author: s0mebody.slo@gmail.com
File Name: gensim/corpora/dictionary.py
Class Name: Dictionary
Method Name: from_corpus