pub struct ReplicatedTextRuntime<A, B, S, R, P>where
B: SubmissionBackend<Executor = <<B as NeuralBackend>::Tensor as Tensor>::Context>,
S: RuntimeState<B>,
A: LayeredArchitecture<B, S>,
R: LayerwisePolicy<B, A::Unit>,
P: LayerwisePolicy<B, A::Unit, Error = R::Error>,{ /* private fields */ }Expand description
Resident or bounded layered runtime paired before session construction.
The wrapper lets additive execution strategies reuse one text-session lifecycle without exposing the selected runtime branch or permitting a backend to reconstruct it.
Auto Trait Implementations§
impl<A, B, S, R, P> Freeze for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: Freeze,
impl<A, B, S, R, P> RefUnwindSafe for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: RefUnwindSafe,
impl<A, B, S, R, P> Send for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: Send,
impl<A, B, S, R, P> Sync for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: Sync,
impl<A, B, S, R, P> Unpin for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: Unpin,
impl<A, B, S, R, P> UnsafeUnpin for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: UnsafeUnpin,
impl<A, B, S, R, P> UnwindSafe for ReplicatedTextRuntime<A, B, S, R, P>where
ReplicatedTextRuntimeKind<A, B, S, R, P>: 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