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

tensorplay.stax.stax(graph_module: GraphModule, example_inputs: list[Any], *, mode: str | None = None, options: dict[str, Any] | None = None, name: str | None = None, dynamic: bool | None = None, strict_native: bool = False, **kwargs: Any)[source]

Compile one canonical graph and return an executable callable.

example_inputs and backend options are part of the same contract as metadata in the frontend and uses the native graph when its lowering contract is satisfied. strict_native makes a failed lowering a hard compiler error, so a benchmark can never report the Python GraphModule executor as compiled performance.

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