界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

neural-network-components

neural-network-components

【效率与协作】Routes numpy-ml neural-network component, loss, optimizer, scheduler, and toy-model tasks with CPU-only construction guidance.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: neural-network-components description: "Routes numpy-ml neural-network component, loss, optimizer, scheduler, and toy-model tasks with CPU-only construction guidance." disable-model-invocation: true metadata: disco-role: operating license: GPL 3.0

Neural Network Components

Use this sub-skill for numpy-ml tasks that work with NumPy-based neural network building blocks rather than training a large end-to-end deep-learning system:

  • activations;
  • layers and modules;
  • losses;
  • optimizers and schedulers;
  • initializers and wrappers;
  • small toy models such as VAE, WGAN-GP, and Word2Vec.

First Checks

  1. Read references/api-reference.md for the constructor signatures and the usual forward / backward / update conventions.

  2. Run the smoke helper for a tiny CPU-only sanity check:

    python sub-skills/neural-network-components/scripts/neural_component_smoke.py
    
  3. Read references/workflows.md when you need a tiny composition example or a safe pattern for a batch of layers.

  4. Read references/troubleshooting.md for shape, cache, optimizer, and compatibility failures.

Route by Task

User asks forUse this route
activation or loss class names and defaultsreferences/api-reference.md and the smoke helper.
dense, convolutional, recurrent, attention, embedding, or wrapper layerslayer/module sections of api-reference.md.
optimizer or learning-rate scheduler choiceoptimizer/scheduler sections.
VAE/WGAN-GP/Word2Vec constructiontoy-model notes in workflows.md and api-reference.md.
feature prep, tokenization, or tabular arraysroute to ../preprocessing-and-utilities/SKILL.md first.

Operating Notes

  • This package is a NumPy implementation library; do not imply autograd, PyTorch, TensorFlow, or GPU execution as runtime requirements.
  • Most methods mutate layer state in place. Keep the object and inspect its parameters/derived variables after the call.
  • The repo's comparison tests use external frameworks as baselines, but those frameworks are optional diagnostics, not the runtime dependency of this sub-skill.
我的收藏