协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
autograd【开发与工程】Routes Autograd install, differentiation, wrapper, extension, and optimization workflows for NumPy-based scientific Python code.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a user asks about Autograd gradients, Jacobians, Hessians, custom primitives, autograd.numpy, autograd.scipy, structured optimizers, or fixed-point helpers. The package is library-only; there is no CLI route.
references/installation.md for public install commands and optional extras.references/repo-provenance.md when checking whether this skill matches the current repository state or before refreshing it.references/troubleshooting.md for cross-cutting install, import, optional-dependency, and usage failures.scripts/autograd_smoke.py for a quick install-and-import sanity check.grad, jacobian, elementwise_grad, value_and_grad, higher-order derivatives, make_vjp, make_jvp, holomorphic_grad, and gradient checking.autograd.numpy, autograd.scipy, supported/unsupported NumPy patterns, xarray interoperability, and missing SciPy-extra troubleshooting.primitive, defvjp, defjvp, deprecated wrapper compatibility, and gradient checking around a new rule.flatten, structured optimizers, fixed_point, and scipy.optimize.minimize with value_and_grad.For a regular user install:
pip install autograd
For the full NumPy/SciPy wrapper surface used by this skill:
pip install "autograd[scipy]"
If you are working from a checkout and want an editable install:
pip install -e '.[scipy]'
Optional xarray container-interoperability examples need xarray installed separately.
Run the bundled smoke helper after installation:
python scripts/autograd_smoke.py
Use --require-scipy when you want the smoke to fail instead of skipping the optional SciPy section.
Read references/repo-provenance.md before refreshing this skill against a new Autograd checkout. The provenance snapshot records the source commit, dirty state, package version, and evidence paths used to build the current skill.