L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Développement · SKILL.md

autograd

autograd

Routes Autograd install, differentiation, wrapper, extension, and optimization workflows for NumPy-based scientific Python code.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: autograd description: "Routes Autograd install, differentiation, wrapper, extension, and optimization workflows for NumPy-based scientific Python code." disable-model-invocation: true metadata: disco-role: operating license: MIT

Autograd

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.

Read first

  • 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.

Route map

Install

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.

Minimal smoke

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.

How to choose a route

  • If the problem is “what derivative operator should I use?”, start with differentiation-core.
  • If the problem is “why does a NumPy/SciPy expression fail or behave oddly under Autograd?”, start with numpy-scipy-primitives.
  • If the problem is “how do I make my own function differentiable?”, start with extend-primitives.
  • If the problem is “how do I optimize a structured parameter tree or use SciPy minimize?”, start with optimization-workflows.

Notes for future refreshes

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.

Skills enregistrées