Skip to main content

RealtimeLayerwiseRuntime

Enum RealtimeLayerwiseRuntime 

Source
pub enum RealtimeLayerwiseRuntime<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>,
{ Resident(LayerwiseRuntime<A, B, S, R>), Bounded(LayerwiseRuntime<A, B, S, P>), }
Expand description

Resident or bounded runtime chosen by the authoritative realization.

Variants§

§

Resident(LayerwiseRuntime<A, B, S, R>)

Fully resident execution.

§

Bounded(LayerwiseRuntime<A, B, S, P>)

Host-windowed or disk-streamed execution.

Auto Trait Implementations§

§

impl<A, B, S, R, P> Freeze for RealtimeLayerwiseRuntime<A, B, S, R, P>
where LayerwiseRuntime<A, B, S, R>: Freeze, LayerwiseRuntime<A, B, S, P>: Freeze,

§

impl<A, B, S, R, P> RefUnwindSafe for RealtimeLayerwiseRuntime<A, B, S, R, P>

§

impl<A, B, S, R, P> Send for RealtimeLayerwiseRuntime<A, B, S, R, P>
where LayerwiseRuntime<A, B, S, R>: Send, LayerwiseRuntime<A, B, S, P>: Send,

§

impl<A, B, S, R, P> Sync for RealtimeLayerwiseRuntime<A, B, S, R, P>
where LayerwiseRuntime<A, B, S, R>: Sync, LayerwiseRuntime<A, B, S, P>: Sync,

§

impl<A, B, S, R, P> Unpin for RealtimeLayerwiseRuntime<A, B, S, R, P>
where LayerwiseRuntime<A, B, S, R>: Unpin, LayerwiseRuntime<A, B, S, P>: Unpin,

§

impl<A, B, S, R, P> UnsafeUnpin for RealtimeLayerwiseRuntime<A, B, S, R, P>
where LayerwiseRuntime<A, B, S, R>: UnsafeUnpin, LayerwiseRuntime<A, B, S, P>: UnsafeUnpin,

§

impl<A, B, S, R, P> UnwindSafe for RealtimeLayerwiseRuntime<A, B, S, R, P>
where LayerwiseRuntime<A, B, S, R>: UnwindSafe, LayerwiseRuntime<A, B, S, P>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.