pub struct VaeNormRef<'a> {
pub w: &'a [f32],
pub b: &'a [f32],
pub groups: usize,
}Expand description
GroupNorm (eps 1e-6, affine) weight/bias [c] over groups groups.
Fields§
§w: &'a [f32]§b: &'a [f32]§groups: usizeTrait Implementations§
Source§impl<'a> Clone for VaeNormRef<'a>
impl<'a> Clone for VaeNormRef<'a>
impl<'a> Copy for VaeNormRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for VaeNormRef<'a>
impl<'a> RefUnwindSafe for VaeNormRef<'a>
impl<'a> Send for VaeNormRef<'a>
impl<'a> Sync for VaeNormRef<'a>
impl<'a> Unpin for VaeNormRef<'a>
impl<'a> UnsafeUnpin for VaeNormRef<'a>
impl<'a> UnwindSafe for VaeNormRef<'a>
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