Struct dfdx::nn::builders::LayerNorm1D
source · pub struct LayerNorm1D<const M: usize>;
Trait Implementations§
source§impl<const M: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for LayerNorm1D<M>where
LayerNorm1D<M, E, D>: BuildModule<D, E>,
impl<const M: usize, E: Dtype, D: Device<E>> BuildOnDevice<D, E> for LayerNorm1D<M>where LayerNorm1D<M, E, D>: BuildModule<D, E>,
type Built = LayerNorm1D<M, E, D>
fn try_build_on_device(device: &D) -> Result<Self::Built, D::Err>
fn build_on_device(device: &D) -> Self::Built
Auto Trait Implementations§
impl<const M: usize> RefUnwindSafe for LayerNorm1D<M>
impl<const M: usize> Send for LayerNorm1D<M>
impl<const M: usize> Sync for LayerNorm1D<M>
impl<const M: usize> Unpin for LayerNorm1D<M>
impl<const M: usize> UnwindSafe for LayerNorm1D<M>
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