Base class implementing common properties for e-prop synapses. More...
#include <eprop_synapse_bsshslm_2020.h>
Public Member Functions | |
| EpropSynapseBSSHSLM2020CommonProperties () | |
| EpropSynapseBSSHSLM2020CommonProperties (const EpropSynapseBSSHSLM2020CommonProperties &) | |
| Copy constructor. | |
| EpropSynapseBSSHSLM2020CommonProperties & | operator= (const EpropSynapseBSSHSLM2020CommonProperties &)=delete |
| Assignment operator. | |
| ~EpropSynapseBSSHSLM2020CommonProperties () | |
| Destructor. | |
| void | get_status (Dictionary &d) const |
| Get parameter dictionary. | |
| void | set_status (const Dictionary &d, ConnectorModel &cm) |
| Update values in parameter dictionary. | |
Public Member Functions inherited from nest::CommonSynapseProperties | |
| CommonSynapseProperties () | |
| Standard constructor. | |
| ~CommonSynapseProperties () | |
| void | get_status (Dictionary &d) const |
| Get all properties and put them into a dictionary. | |
| void | set_status (const Dictionary &d, ConnectorModel &cm) |
| Set properties from the values given in dictionary. | |
| void | calibrate (const TimeConverter &) |
| Calibrate all time objects, which might be contained in this object. | |
| long | get_vt_node_id () const |
| Get node ID of volume transmitter. | |
| weight_recorder * | get_weight_recorder () const |
| Get weight_recorder. | |
Public Attributes | |
| bool | average_gradient_ |
| If True, average the gradient over the learning window. | |
| WeightOptimizerCommonProperties * | optimizer_cp_ |
| Pointer to common properties object for weight optimizer. | |
Base class implementing common properties for e-prop synapses.
Base class implementing common properties for the e-prop synapse model according to Bellec et al. (2020).
This class in particular manages a pointer to weight-optimizer common properties to support exchanging the weight optimizer at runtime. Setting the weight-optimizer common properties determines the WO type. It can only be exchanged as long as no synapses for the model exist. The WO CP object is responsible for providing individual optimizer objects to synapses upon connection.
| nest::EpropSynapseBSSHSLM2020CommonProperties::EpropSynapseBSSHSLM2020CommonProperties | ( | ) |
| nest::EpropSynapseBSSHSLM2020CommonProperties::EpropSynapseBSSHSLM2020CommonProperties | ( | const EpropSynapseBSSHSLM2020CommonProperties & | cp | ) |
Copy constructor.
| nest::EpropSynapseBSSHSLM2020CommonProperties::~EpropSynapseBSSHSLM2020CommonProperties | ( | ) |
Destructor.
References optimizer_cp_.
| void nest::EpropSynapseBSSHSLM2020CommonProperties::get_status | ( | Dictionary & | d | ) | const |
Get parameter dictionary.
References nest::names::average_gradient(), average_gradient_, nest::WeightOptimizerCommonProperties::get_status(), nest::CommonSynapseProperties::get_status(), nest::names::optimizer(), and optimizer_cp_.
|
delete |
Assignment operator.
| void nest::EpropSynapseBSSHSLM2020CommonProperties::set_status | ( | const Dictionary & | d, |
| ConnectorModel & | cm | ||
| ) |
Update values in parameter dictionary.
References nest::names::average_gradient(), average_gradient_, nest::KernelManager::connection_manager, nest::WeightOptimizerCommonProperties::get_name(), nest::ConnectionManager::get_num_connections(), nest::ConnectorModel::get_syn_id(), nest::kernel(), nest::names::optimizer(), optimizer_cp_, nest::WeightOptimizerCommonProperties::set_status(), nest::CommonSynapseProperties::set_status(), nest::names::type(), and Dictionary::update_value().
| bool nest::EpropSynapseBSSHSLM2020CommonProperties::average_gradient_ |
If True, average the gradient over the learning window.
Referenced by get_status(), nest::eprop_synapse_bsshslm_2020< targetidentifierT >::send(), and set_status().
| WeightOptimizerCommonProperties* nest::EpropSynapseBSSHSLM2020CommonProperties::optimizer_cp_ |
Pointer to common properties object for weight optimizer.
Referenced by nest::eprop_synapse_bsshslm_2020< targetidentifierT >::check_connection(), get_status(), nest::eprop_synapse_bsshslm_2020< targetidentifierT >::send(), set_status(), and ~EpropSynapseBSSHSLM2020CommonProperties().