superneuromat.SNN.simulate#
- SNN.simulate(time_steps: int = 1, callback=None, use=None, sparse=None, **kwargs) None [source]#
Simulate the neuromorphic spiking neural network
- Parameters:
time_steps (int) – Number of time steps for which the neuromorphic circuit is to be simulated
callback (function, optional) – Function to be called after each time step, by default None
use (str, default=None) – Which backend to use. Can be ‘auto’, ‘cpu’, ‘jit’, or ‘gpu’. If None, SNN.backend will be used, which is ‘auto’ by default. ‘auto’ will choose a backend based on the network size and time steps.
- Raises:
TypeError – If
time_steps
is not an int.ValueError – If
time_steps
is less than or equal to zero.