dd95d413aa89f01d6f86b79578ec23df7ab78064,bindsnet/learning/__init__.py,,m_stdp_et,#Any#,71
Before Change
try:
a_minus = kwargs["a_minus"]
except KeyError:
raise KeyError("function m_stdp_et requires an a_minus kwarg")
// Get P^+ and P^- values (function of firing traces).
conn.p_plus = -(conn.tc_plus * conn.p_plus) + a_plus * conn.source.x.unsqueeze(-1)
conn.p_minus = -(conn.tc_minus * conn.p_minus) + a_minus * conn.target.x.unsqueeze(0)
After Change
else:
a_plus = 1
if "a_minus" in kwargs:
a_minus = kwargs["a_minus"]
else:
a_minus = -1
// Get P^+ and P^- values (function of firing traces).
conn.p_plus = -(conn.tc_plus * conn.p_plus) + a_plus * conn.source.x.unsqueeze(-1)
conn.p_minus = -(conn.tc_minus * conn.p_minus) + a_minus * conn.target.x.unsqueeze(0)
// Get pre- and post-synaptic spiking neurons.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: BindsNET/bindsnet
Commit Name: dd95d413aa89f01d6f86b79578ec23df7ab78064
Time: 2018-05-09
Author: djsaunde@umass.edu
File Name: bindsnet/learning/__init__.py
Class Name:
Method Name: m_stdp_et
Project Name: snipsco/snips-nlu
Commit Name: 2f267a079a50fa045271361fcc9acfaf16f6021d
Time: 2017-04-03
Author: adrien.ball@snips.net
File Name: snips_nlu/intent_parser/builtin_intent_parser.py
Class Name: BuiltinIntentParser
Method Name: from_dict
Project Name: explosion/thinc
Commit Name: c05b727cd72d4c9d88d62944e3f71dfd8ebf9353
Time: 2017-01-12
Author: honnibal+gh@gmail.com
File Name: thinc/neural/mem.py
Class Name: Memory
Method Name: get