PyAutograd
darkforest-py
module: binding
since v0.1.0-alpha
Signature
rust
#[pyclass] pub struct PyAutograd {}
Overview
Python interface to the Dark Forest iterative tape autograd engine.
Invariants & Design Principles
- Invariant: Exposes .backward() and .grad hooks identical to PyTorch API.
Usage Example
rust
loss.backward()