rockpool.devices.dynapse
Dynap-SE2 Application Programming Interface (API)
This package provides an abstract Dynap-SE2 machine that operates in the same parameter space as Dynap-SE2 processors. More, all the required tools to convert a simulation setting to an hardware configuration and a hardware configuration to a simulation setting.
It’s possible to go from simulation to deployment:
Define a rockpool network
Map this network to a hardware specification
Quantize the parameters
Obtain a samna configuration
Connect and configure a Dynap-SE2 chip
Run a real-time, hardware simulation
# Define
net = Sequential(LinearJax((Nin, Nrec)), DynapSim((Nrec, Nrec)))
# Map
spec = mapper(net.as_graph())
spec.update(autoencoder_quantization(**spec))
config = config_from_specification(**spec)
# Connect
se2_devices = find_dynapse_boards()
se2 = DynapseSamna(se2_devices[0], **config)
out, state, rec = se2(raster, record=True)
It’s also possible to go from hardware configuration to simulation:
net = dynapsim_net_from_config(**config)
out, state, rec = net(raster, record=True)
See also
See the tutorials
Modules
DynapSim Network getters. |
|
Dynap-SE2 hardware configuration package |
|
Lookup tables with hard-coded floating point values obtained from https://hardware.basket.office.synsense.ai/documentation/dynapse2docs/Sections/input_interface_config.html especially for more accurate simulation of Dynap-SE2 bias generator. |
|
Dynap-SE2 SNN graph mapping package |
|
Dynap-SE2 high-level parameters <-> currents <-> DAC (coarse, fine values) conversion utilities |
|
Dynap-SE2 quantization implementation |
|
Dynap-SE2 Samna Aliases |
|
Dynap-SE2 Simulation Module |
|
Dynap-SE2 common typehint definitions |