pub enum SchedulingStrategy {
Sequential,
MaximizeParallelism,
MinimizeMemory,
Balanced,
CostBased,
}Expand description
Scheduling strategy
Variants§
Sequential
Execute nodes in topological order
MaximizeParallelism
Maximize parallelism (minimize depth)
MinimizeMemory
Minimize memory usage (reuse tensors aggressively)
Balanced
Balance parallelism and memory
CostBased
Custom cost-based optimization
Trait Implementations§
Source§impl Clone for SchedulingStrategy
impl Clone for SchedulingStrategy
Source§fn clone(&self) -> SchedulingStrategy
fn clone(&self) -> SchedulingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchedulingStrategy
impl Debug for SchedulingStrategy
Source§impl PartialEq for SchedulingStrategy
impl PartialEq for SchedulingStrategy
impl Copy for SchedulingStrategy
impl Eq for SchedulingStrategy
impl StructuralPartialEq for SchedulingStrategy
Auto Trait Implementations§
impl Freeze for SchedulingStrategy
impl RefUnwindSafe for SchedulingStrategy
impl Send for SchedulingStrategy
impl Sync for SchedulingStrategy
impl Unpin for SchedulingStrategy
impl UnwindSafe for SchedulingStrategy
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