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 ==
.