pub struct CompiledPartition<'a> {
pub ep: &'a dyn ExecutionProvider,
pub partition_name: String,
pub covered_nodes: Vec<NodeId>,
}Expand description
One compiled partition the session hands to the EPContext writer (§55.4).
The session owns compilation and partition boundaries; it names the owning
EP and the graph nodes that EP compiled. The driver (dump_session_ep_context)
pulls the compiled blob + SDK version from the EP via
ExecutionProvider::save_context and the source key from
ExecutionProvider::context_source_keys — nothing is hardcoded (§55.6).
Fields§
§ep: &'a dyn ExecutionProviderThe EP that compiled this partition (and owns its context).
partition_name: StringThe ORT-partition name emitted as the node’s partition_name attribute.
covered_nodes: Vec<NodeId>The graph nodes this partition covers (replaced by one EPContext node).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CompiledPartition<'a>
impl<'a> !UnwindSafe for CompiledPartition<'a>
impl<'a> Freeze for CompiledPartition<'a>
impl<'a> Send for CompiledPartition<'a>
impl<'a> Sync for CompiledPartition<'a>
impl<'a> Unpin for CompiledPartition<'a>
impl<'a> UnsafeUnpin for CompiledPartition<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more