TensorPlay

Latest development documentation · Updated 2026-09-08. A documentation snapshot for package 1.0.0.dev20260909 is not available.

On this page

tensorplay._stax

tensorplay._stax is TensorPlay’s private compilation package. It owns capture orchestration, specialization guards, backend registration, code caching, and the native Stax and TVM lowering implementations.

Graph values and graph transformations are intentionally separate:

  • tensorplay.graph contains Graph, Node, GraphModule, Proxy, and Tracer.

  • tensorplay.graph.passes contains graph transformations and pass composition utilities.

  • tensorplay._stax consumes those graph objects and produces executable callables.

The supported public entry point is tensorplay.compile. The _stax namespace is private and is exposed only for backend registration and diagnostic tooling.

Private services

  • CodeCache — compiled artifact caching

  • Guard and GuardChain — specialization validation

  • CudaGraphManager — CUDA graph capture and replay

  • AOTError and build_aot — ahead-of-time compilation helpers

Search documentation

Search all 1,743 documentation pages.

Keyboard shortcuts

Global

  • /Focus search
  • ?This dialog
  • ,Open settings
  • jAI assistant

Search

  • Navigate results
  • Open result
  • escClose

Package

  • mMain information
  • dDocs
  • .Code
  • -Changelog
  • tTimeline
  • sStats
  • vVersions