NeuromorphicProcessorProject / snn_toolbox

Toolbox for converting analog to spiking neural networks (ANN to SNN), and running them in a spiking neuron simulator.
MIT License
360 stars 104 forks source link

Measuring device usage on Loihi #114

Closed jimzhou112 closed 2 years ago

jimzhou112 commented 2 years ago

Hi Bodo,

How can I measure the device usage on Loihi?

rbodo commented 2 years ago

How does your question differ from #99 ?

jimzhou112 commented 2 years ago

Sorry, I'd like to clarify it to mean resource utilization on Loihi.

rbodo commented 2 years ago

In the [loihi] section of your config file, you can set the flag save_output = True, which will generate a bunch of plots for resource utilization. The corresponding methods are called here: https://github.com/intel-nrc-ecosystem/models/blob/a8b6e2a83d4842eb99878d3fa53cd92f4c6b3db8/nxsdk_modules_ncl/dnn/src/dnn_layers.py#L2901