jaxsnn.event.utils
Modules
|
Context manager to temporarily switch branch-free mode for custom_lax.cond/switch. |
Conversion of a NIR graph to jaxsnn model |
|
Translate NIRGraphData to a jaxsnn-compatible spike representation. |
|
|
|
Conversion of a jaxsnn model to a NIR graph |
|
Translate spikes from a jaxsnn spike representation to NIRGraphData. |
Functions
-
jaxsnn.event.utils.branch_free(enabled: bool = True) Context manager to temporarily switch branch-free mode for custom_lax.cond/switch.
-
jaxsnn.event.utils.is_branch_free() → bool
-
jaxsnn.event.utils.time_it(timed_function: Callable, *args) → Tuple[Any, float]