superneuromat.SNN.backend#

property SNN.backend[source]#

Set the backend to be used for simulation.

Parameters:

use (str) – The backend to use. Can be 'auto', 'cpu', 'jit', or 'gpu'.

Raises:

ValueError – If use is not one of 'auto', 'cpu', 'jit', or 'gpu'.

'auto' is the default value. This will choose a backend at simulate() time based on the network size and time steps, as chosen by recommend().