superneuromat.SNN.last_used_backend#

SNN.last_used_backend()[source]#

Get the last-used backend for simulation.

Returns:

Returns ‘cpu’ | ‘jit’ | ‘gpu’ for the backend that was used during simulate(), or None if no simulation has been run yet.

Return type:

str