pub struct EmReduce;Expand description
Marker for the GPU M-step reduction kernel.
One EmReduce dispatch corresponds to one M-step of the EM algorithm:
given match_probs from the E-step it accumulates weighted level counts
that the caller normalises into updated m/u probability tables.
Trait Implementations§
Source§impl Kernel for EmReduce
impl Kernel for EmReduce
Source§type Input<'a> = EmReduceInput<'a>
type Input<'a> = EmReduceInput<'a>
Input type for this kernel. The lifetime parameter allows borrowing
host data (records, schema) without copying.
Source§type Output = EmReduceOutput
type Output = EmReduceOutput
Output type produced after the kernel completes and results are
downloaded back to host memory.
Source§impl KernelDispatch<EmReduce> for CpuDevice
impl KernelDispatch<EmReduce> for CpuDevice
fn dispatch(&self, input: EmReduceInput<'_>) -> Result<EmReduceOutput, GpuError>
Source§impl KernelDispatch<EmReduce> for DeviceBackend
impl KernelDispatch<EmReduce> for DeviceBackend
fn dispatch(&self, input: EmReduceInput<'_>) -> Result<EmReduceOutput, GpuError>
Auto Trait Implementations§
impl Freeze for EmReduce
impl RefUnwindSafe for EmReduce
impl Send for EmReduce
impl Sync for EmReduce
impl Unpin for EmReduce
impl UnsafeUnpin for EmReduce
impl UnwindSafe for EmReduce
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more