技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
snntorch【数据与研究】Use snnTorch to build spiking neuron models, encode data into spikes, train with surrogate gradients, plot spike tensors, export/import NIR graphs, and maintain legacy spikevision workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task touches the snntorch package: stateful spiking neurons, spike encoders, surrogate gradients, training helpers, plotting, NIR exchange, or legacy neuromorphic datasets.
Read Install and import for the package-level install matrix. For a quick smoke test, run:
pip install snntorch
python -c "import snntorch as snn; print(snn.__version__)"
python scripts/stack_smoke.py
If you need the broader stack for plotting, NIR, or legacy dataset workflows, add the optional dependencies described in that reference.
GradedSpikes -> core-neuronsencoding-trainingnir-interoperabilityplottingspikevision dataset wrappers or migrate old neuromorphic dataset code -> spikevisionnn.Sequential breaks on tuple outputs, start with core-neurons.encoding-training.export_to_nir or import_from_nir fails with type inference or graph-shape errors, start with nir-interoperability.spike_count labels behave oddly, start with plotting.snntorch.spikevision, treat it as legacy and start with spikevision; new work should use Tonic instead.scripts/stack_smoke.pyThis skill is a runtime router, not a maintainer guide. It does not cover release engineering, CI, packaging automation, or repo-specific development tasks. Keep the generated guidance self-contained inside this skill tree and use the sub-skills for workflow depth.