Shortcuts

Trait Shortcuts 

Source
pub trait Shortcuts {
    // Provided methods
    fn classification(self) -> Classification<Self>
       where Classification<Self>: Op,
             Self: Sized { ... }
    fn regression(self) -> Regression<Self>
       where Regression<Self>: Op,
             Self: Sized { ... }
    fn wrap(self) -> Wrapped<Self>
       where Self: Wrappable { ... }
}
Expand description

chained method shortcut trait

Provided Methods§

Source

fn classification(self) -> Classification<Self>
where Classification<Self>: Op, Self: Sized,

wraps in a classification wrapper

Source

fn regression(self) -> Regression<Self>
where Regression<Self>: Op, Self: Sized,

wraps in a regression wrapper

Source

fn wrap(self) -> Wrapped<Self>
where Self: Wrappable,

wraps in a burn wrapper

Implementors§

Source§

impl<T: ?Sized + Op> Shortcuts for T