devices.dynapse.dynamic_mismatch_prototype(mod: rockpool.nn.modules.jax.jax_module.JaxModule) Dict[str, bool][source]

dynamic_mismatch_prototype process the module attributes tree and returns a dynamical mismatch prototype which indicates the values to be deviated at run-time. The resulting prototype can be used during training pipeline. The method targets only the trainables.


mod (JaxModule) – DynapSim network module which subject to mismatch deviations


the prototype tree leading the mismatch generation process

Return type

Dict[str, bool]