devices.dynapse.dynamic_mismatch_prototype

devices.dynapse.dynamic_mismatch_prototype(mod: 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.

Parameters:

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

Returns:

the prototype tree leading the mismatch generation process

Return type:

Dict[str, bool]