latest (dev)
Copy
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_programstaysNone; callraise_on_failure()to surface the errors.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

