A Node represents one of the fundamental building blocks of an NGC system. These particular objects are meant to perform, per simulated time step, a calculation of output activity values given an internal arrangement of compartments (or sources where signals from other Node(s) are to be deposited).
The Node
class serves as a root class for the node building block objects of an NGC system/graph. This is a core modeling component of general NGC computational systems. Node sub-classes within ngc-learn inherit from this base class.
ngclearn.engine.nodes.node.Node
wire_to
inject
clamp
step
calc_update
clear
extract
extract_params
deep_store_state
The SNode
class extends from the base Node
class, and represents a (rate-coded) state node that follows a certain set of settling dynamics. In conjunction with the corresponding ENode
and FNode
classes, this serves as the core modeling component of a higher-level NGCGraph
class used in simulation.
ngclearn.engine.nodes.snode.SNode
step
clear
The ENode
class extends from the base Node
class, and represents a (rate-coded) error node simplified to its fixed-point form. In conjunction with the corresponding SNode
and FNode
classes, this serves as the core modeling component of a higher-level NGCGraph
class used in simulation.
ngclearn.engine.nodes.enode.ENode
step
calc_update
compute_precision
clear
The FNode
class extends from the base Node
class, and represents a stateless node that simply aggregates (via summation) its received inputs. In conjunction with the corresponding SNode
and ENode
classes, this serves as the core modeling component of a higher-level NGCGraph
class used in simulation.
ngclearn.engine.nodes.fnode.FNode
step