Struct dfdx::nn::builders::BatchNorm1D
source · pub struct BatchNorm1D<const C: usize>;
Trait Implementations§
source§impl<const C: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for BatchNorm1D<C>where
BatchNorm1D<C, E, D>: BuildModule<D, E>,
impl<const C: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for BatchNorm1D<C>where BatchNorm1D<C, E, D>: BuildModule<D, E>,
type Built = BatchNorm1D<C, 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 C: usize> Clone for BatchNorm1D<C>
impl<const C: usize> Clone for BatchNorm1D<C>
source§fn clone(&self) -> BatchNorm1D<C>
fn clone(&self) -> BatchNorm1D<C>
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 C: usize> Debug for BatchNorm1D<C>
impl<const C: usize> Debug for BatchNorm1D<C>
source§impl<const C: usize> PartialEq<BatchNorm1D<C>> for BatchNorm1D<C>
impl<const C: usize> PartialEq<BatchNorm1D<C>> for BatchNorm1D<C>
source§fn eq(&self, other: &BatchNorm1D<C>) -> bool
fn eq(&self, other: &BatchNorm1D<C>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.