pub struct RmsNormOutput<B>where
B: Backend,{
pub output: <B as BackendTypes>::FloatTensorPrimitive,
pub rstd: <B as BackendTypes>::FloatTensorPrimitive,
}Expand description
RMSNorm output and reciprocal row norms retained for first-order backward.
Fields§
§output: <B as BackendTypes>::FloatTensorPrimitiveAffine-normalized output in the input storage dtype.
rstd: <B as BackendTypes>::FloatTensorPrimitiveReciprocal row norms in the working dtype, including epsilon.
Auto Trait Implementations§
impl<B> Freeze for RmsNormOutput<B>
impl<B> RefUnwindSafe for RmsNormOutput<B>
impl<B> Send for RmsNormOutput<B>
impl<B> Sync for RmsNormOutput<B>
impl<B> Unpin for RmsNormOutput<B>
impl<B> UnsafeUnpin for RmsNormOutput<B>
impl<B> UnwindSafe for RmsNormOutput<B>
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