superneuromat.SNN.sparse#
- property SNN.sparse[source]#
The user-requested sparsity setting for the SNN
When creating an
SNN, thesparseparameter is'auto'by default.See
setup()for guidance on choosing a backend and sparsity setting manually.- Parameters:
If one of
1,'1',True,'true', or'sparse', the SNN will be internally represented using a sparse representation.If one of
0,'0',False,'false', or'dense', the SNN will be internally represented using a dense representation.If
'auto', the sparsity will be determined at setup-time viarecommend_sparsity().- Returns:
Returns
True,False, or'auto'.- Return type:
See also
Considerations for Speed recommend_sparsity backend setup