Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The model has no layers.
thx.compile(model, ...)
Sequential
model = snn.Sequential( snn.Dense(700, 512), snn.LIF(tau_mem=20.0, threshold=0.3), snn.Dense(512, 20), snn.LIF(tau_mem=20.0, threshold=0.3), ) thx.compile(model, "model.thx")
E0105: model has no layers Why: an empty Sequential cannot be compiled or simulated. Fix: add at least one layer to the model before calling thx.compile(). Docs: https://docs.thrindex.com/errors/E0105