|
QDpy
|
Stateful controller instance for a single rollout. More...
Public Member Functions | |
| weights (self) | |
| act (self, observation) | |
| Compute an action and apply the neuron-centric Hebbian update. | |
Stateful controller instance for a single rollout.
Return tanh actions and update the local synapses after each forward pass.
Definition at line 72 of file hebbian_qd.py.
| qdpy.algorithms.hebbian_qd.HebbianSession.act | ( | self, | |
| observation ) |
Compute an action and apply the neuron-centric Hebbian update.
| observation | Flat input of the configured length. |
Use the current weights for inference and the activations for the next update.
Definition at line 95 of file hebbian_qd.py.
| qdpy.algorithms.hebbian_qd.HebbianSession.weights | ( | self | ) |
Return a copy of each layer's current synapse matrix.
Definition at line 88 of file hebbian_qd.py.