Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 963 Bytes

File metadata and controls

33 lines (24 loc) · 963 Bytes

Render Module Specification

Overview

Multi-framework rendering and code generation from GNN models.

Components

Framework Renderers

  • jax/jax_renderer.py - JAX code generation (1717 lines)
  • pymdp/pymdp_converter.py - PyMDP integration (1517 lines)
  • discopy/translator.py - DisCoPy translation (1684 lines)
  • rxinfer/toml_generator.py - RxInfer TOML generation (1007 lines)

Core

  • generators.py - Code generator utilities (1365 lines)

Supported Frameworks

  • pymdp, rxinfer, activeinference_jl, jax, discopy, plus optional backends when available: pytorch, numpyro, stan.

Key Exports

from render import process_render, JAXRenderer

The authoritative export surface is src/render/__init__.py.


Documentation

  • README: Module Overview
  • AGENTS: Agentic Workflows
  • SPEC: Architectural Specification
  • SKILL: Capability API