Struct dfdx::nn::builders::UnbiasedLinear
source · pub struct UnbiasedLinear<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 UnbiasedLinear<I, O>where
UnbiasedLinear<I, O, E, D>: BuildModule<D, E>,
impl<const I: usize, const O: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for UnbiasedLinear<I, O>where UnbiasedLinear<I, O, E, D>: BuildModule<D, E>,
type Built = UnbiasedLinear<I, O, E, D>
fn try_build_on_device(device: &D) -> Result<Self::Built, D::Err>
fn build_on_device(device: &D) -> Self::Built
source§impl<const I: usize, const O: usize> Clone for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> Clone for UnbiasedLinear<I, O>
source§fn clone(&self) -> UnbiasedLinear<I, O>
fn clone(&self) -> UnbiasedLinear<I, O>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<const I: usize, const O: usize> PartialEq<UnbiasedLinear<I, O>> for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> PartialEq<UnbiasedLinear<I, O>> for UnbiasedLinear<I, O>
source§fn eq(&self, other: &UnbiasedLinear<I, O>) -> bool
fn eq(&self, other: &UnbiasedLinear<I, O>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<const I: usize, const O: usize> Copy for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> Eq for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> StructuralEq for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> StructuralPartialEq for UnbiasedLinear<I, O>
Auto Trait Implementations§
impl<const I: usize, const O: usize> RefUnwindSafe for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> Send for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> Sync for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> Unpin for UnbiasedLinear<I, O>
impl<const I: usize, const O: usize> UnwindSafe for UnbiasedLinear<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