pub struct DeviceReusableExecutionPlan { /* private fields */ }Expand description
Cold-path capacity selected by the model execution plan before reusable device executables are prepared.
The value is an upper bound on resident executable descriptors, not a hardware- or model-name heuristic. Product composition derives it from the immutable execution plan and the startup shape matrix.
Implementations§
Source§impl DeviceReusableExecutionPlan
impl DeviceReusableExecutionPlan
pub fn new(maximum_executables: usize) -> Result<Self, VNextError>
pub const fn maximum_executables(self) -> usize
Trait Implementations§
Source§impl Clone for DeviceReusableExecutionPlan
impl Clone for DeviceReusableExecutionPlan
Source§fn clone(&self) -> DeviceReusableExecutionPlan
fn clone(&self) -> DeviceReusableExecutionPlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceReusableExecutionPlan
Source§impl Debug for DeviceReusableExecutionPlan
impl Debug for DeviceReusableExecutionPlan
impl Eq for DeviceReusableExecutionPlan
impl StructuralPartialEq for DeviceReusableExecutionPlan
Auto Trait Implementations§
impl Freeze for DeviceReusableExecutionPlan
impl RefUnwindSafe for DeviceReusableExecutionPlan
impl Send for DeviceReusableExecutionPlan
impl Sync for DeviceReusableExecutionPlan
impl Unpin for DeviceReusableExecutionPlan
impl UnsafeUnpin for DeviceReusableExecutionPlan
impl UnwindSafe for DeviceReusableExecutionPlan
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