pub struct ConstructedRealtimeExecution<A, B, M>where
B: SubmissionBackend<Executor = <<B as NeuralBackend>::Tensor as Tensor>::Context>,
M: RealtimeModelConstructionMechanisms<A, B>,
A: LayeredArchitecture<B, M::State>,{ /* private fields */ }Expand description
Constructed static execution and mechanisms, detached from mutable model state.
Implementations§
Source§impl<A, B, M> ConstructedRealtimeExecution<A, B, M>where
B: SubmissionBackend<Executor = <<B as NeuralBackend>::Tensor as Tensor>::Context>,
M: RealtimeModelConstructionMechanisms<A, B>,
A: LayeredArchitecture<B, M::State>,
impl<A, B, M> ConstructedRealtimeExecution<A, B, M>where
B: SubmissionBackend<Executor = <<B as NeuralBackend>::Tensor as Tensor>::Context>,
M: RealtimeModelConstructionMechanisms<A, B>,
A: LayeredArchitecture<B, M::State>,
Sourcepub const fn selected(&self) -> &SelectedRealtimeRealization
pub const fn selected(&self) -> &SelectedRealtimeRealization
Returns the immutable selected realization.
Sourcepub const fn execution(
&self,
) -> &RealtimeLayerwiseRuntime<A, B, M::State, M::ResidentPolicy, M::BoundedPolicy>
pub const fn execution( &self, ) -> &RealtimeLayerwiseRuntime<A, B, M::State, M::ResidentPolicy, M::BoundedPolicy>
Returns the selected resident or bounded runtime.
Sourcepub fn execution_mut(
&mut self,
) -> &mut RealtimeLayerwiseRuntime<A, B, M::State, M::ResidentPolicy, M::BoundedPolicy>
pub fn execution_mut( &mut self, ) -> &mut RealtimeLayerwiseRuntime<A, B, M::State, M::ResidentPolicy, M::BoundedPolicy>
Mutably borrows the selected resident or bounded runtime.
Sourcepub const fn mechanisms(&self) -> &M
pub const fn mechanisms(&self) -> &M
Returns generic construction mechanisms for reports or later composition.
Sourcepub fn mechanisms_mut(&mut self) -> &mut M
pub fn mechanisms_mut(&mut self) -> &mut M
Mutably borrows generic construction mechanisms.
Sourcepub fn into_parts(
self,
) -> (SelectedRealtimeRealization, RealtimeLayerwiseRuntime<A, B, M::State, M::ResidentPolicy, M::BoundedPolicy>, M)
pub fn into_parts( self, ) -> (SelectedRealtimeRealization, RealtimeLayerwiseRuntime<A, B, M::State, M::ResidentPolicy, M::BoundedPolicy>, M)
Decomposes selected construction for installation in the exact topology-specific neutral execution runtime.
Auto Trait Implementations§
impl<A, B, M> Freeze for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: Freeze,
M: Freeze,
PhantomData<fn() -> B>: Freeze,
impl<A, B, M> RefUnwindSafe for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: RefUnwindSafe,
M: RefUnwindSafe,
PhantomData<fn() -> B>: RefUnwindSafe,
impl<A, B, M> Send for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: Send,
M: Send,
PhantomData<fn() -> B>: Send,
impl<A, B, M> Sync for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: Sync,
M: Sync,
PhantomData<fn() -> B>: Sync,
impl<A, B, M> Unpin for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: Unpin,
M: Unpin,
PhantomData<fn() -> B>: Unpin,
impl<A, B, M> UnsafeUnpin for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: UnsafeUnpin,
M: UnsafeUnpin,
PhantomData<fn() -> B>: UnsafeUnpin,
impl<A, B, M> UnwindSafe for ConstructedRealtimeExecution<A, B, M>where
RealtimeLayerwiseRuntime<A, B, <M as RealtimeModelConstructionMechanisms<A, B>>::State, <M as RealtimeModelConstructionMechanisms<A, B>>::ResidentPolicy, <M as RealtimeModelConstructionMechanisms<A, B>>::BoundedPolicy>: UnwindSafe,
M: UnwindSafe,
PhantomData<fn() -> B>: UnwindSafe,
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