pub struct CPUBackend;Trait Implementations§
Source§impl Clone for CPUBackend
impl Clone for CPUBackend
Source§fn clone(&self) -> CPUBackend
fn clone(&self) -> CPUBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CPUBackend
Source§impl Debug for CPUBackend
impl Debug for CPUBackend
Source§impl Default for CPUBackend
impl Default for CPUBackend
Source§fn default() -> CPUBackend
fn default() -> CPUBackend
Returns the “default value” for a type. Read more
Source§impl MLBackend for CPUBackend
impl MLBackend for CPUBackend
fn name(&self) -> &'static str
fn predict( &self, model: &DeepModel, ctx: &ExecutionContext, ) -> MLResult<PredictResult>
fn predict_features( &self, model: &DeepModel, examples: &[(DocId, Vec<f64>)], ) -> MLResult<PredictResult>
fn deep_learn( &self, training_set: &TrainingSet, options: &LearnOptions, ) -> MLResult<DeepLearnOutput>
Auto Trait Implementations§
impl Freeze for CPUBackend
impl RefUnwindSafe for CPUBackend
impl Send for CPUBackend
impl Sync for CPUBackend
impl Unpin for CPUBackend
impl UnsafeUnpin for CPUBackend
impl UnwindSafe for CPUBackend
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