pub struct Linear<const I: usize, const O: usize>;
Trait Implementations§
source§impl<const I: usize, const O: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for Linear<I, O>where
Linear<I, O, E, D>: BuildModule<D, E>,
impl<const I: usize, const O: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for Linear<I, O>where Linear<I, O, E, D>: BuildModule<D, E>,
source§impl<const I: usize, const O: usize> PartialEq<Linear<I, O>> for Linear<I, O>
impl<const I: usize, const O: usize> PartialEq<Linear<I, O>> for Linear<I, O>
impl<const I: usize, const O: usize> Copy for Linear<I, O>
impl<const I: usize, const O: usize> Eq for Linear<I, O>
impl<const I: usize, const O: usize> StructuralEq for Linear<I, O>
impl<const I: usize, const O: usize> StructuralPartialEq for Linear<I, O>
Auto Trait Implementations§
impl<const I: usize, const O: usize> RefUnwindSafe for Linear<I, O>
impl<const I: usize, const O: usize> Send for Linear<I, O>
impl<const I: usize, const O: usize> Sync for Linear<I, O>
impl<const I: usize, const O: usize> Unpin for Linear<I, O>
impl<const I: usize, const O: usize> UnwindSafe for Linear<I, O>
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