mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-10 00:38:54 +00:00
* Add Recurse method to GraphTransformer. Move GraphTransformer::Apply to ApplyImpl and make private. Add non-virtual GraphTransformer::Apply method to handle calling Graph::Resolve in a more consistent manner. Create MemcpyTransformer GraphTransformer to handle memcpy operations on subgraphs in a more standard way. * Checkpoint * Make the subgraph insert less verbose * Add graph nesting level to transformer ApplyImpl Tweak cast transformer to recurse nicely and avoid unnecessary Resolve calls by splitting out the duplicate removal into a separate transformer. Decouple memcpy transformer from ExecutionProviders and minimise what's in the header. * Recurse into subgraphs inside GraphPartitioner * Update a couple of new transformers * Check Recurse return value. * Cleanup some memory management in inference session by moving some things into SessionState * Add deleted flag to rewrite rules so we stop processing nodes that are removed. Remove some (most likely) unnecessary Resolve calls. As we always call Resolve for a graph modified by a transformer there's generally no need for the transformer to do it. * Minor cleanups. * Add some extra usage information to the comments in GraphTransformer. * Address PR comments |
||
|---|---|---|
| .. | ||
| onnxruntime/core | ||