| name | pytorch-to-equinox |
|---|---|
| description | Translate a PyTorch nn.Module model to JAX/Equinox. Use when asked to convert, port, or translate PyTorch code to JAX, or when adding new modules to an existing PyTorch-to-Equinox codebase. |
You are translating PyTorch nn.Module code into JAX/Equinox modules. This is a manual, module-by-module translation — not an automatic transpiler. The goal is numerically equivalent forward passes with idiomatic JAX.
Read https://docs.kidger.site/equinox/all-of-equinox/ before starting. This is the authoritative reference for Equinox concepts (modules, pytrees, filtering, JIT, serialization).