TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

tensorplay.export.draft_export

tensorplay.export.draft_export(model: Any, *args: Any, dynamic_shapes: Any = None, **kwargs: Any) → DraftExportReport[source]

Capture a program, reporting failures instead of raising them.

On success the returned report carries the captured program, checked two ways: structural validation of the graph, and a numerical comparison of the captured program against eager execution on the example inputs. When capture fails, the report records the failure and exported_program stays None; call raise_on_failure() to surface the errors.

On this page

Ask DeepWiki