hxtorch.spiking.utils.from_nir_data
Translate NIRGraphData to a hxtorch-compatible spike representation.
Classes
|
Event-based data represented as a list of spike indices and spike times. |
|
Dictionary of NIRNodeData where each entry represents a NIRNode of a corresponding NIRGraph with its observables. |
|
Dictionary of EventData or TimeGriddedData where each entry represents an observable (e.g., spikes, voltages) of a corresponding NIRNode |
Functions
-
hxtorch.spiking.utils.from_nir_data.from_nir_data(nir_graph_data: nir.data_ir.graph.NIRGraphData, hxtorch_model) → dict