pub struct RmsNormRecord<B: Backend> {
pub gamma: <Param<Tensor<B, 1>> as Module<B>>::Record,
}Expand description
The record type for the module.
Fields§
§gamma: <Param<Tensor<B, 1>> as Module<B>>::RecordThe module record associative type.
Trait Implementations§
Source§impl<B: Backend> Record<B> for RmsNormRecord<B>
impl<B: Backend> Record<B> for RmsNormRecord<B>
Auto Trait Implementations§
impl<B> !Freeze for RmsNormRecord<B>
impl<B> !RefUnwindSafe for RmsNormRecord<B>
impl<B> Send for RmsNormRecord<B>
impl<B> Sync for RmsNormRecord<B>
impl<B> Unpin for RmsNormRecord<B>
impl<B> UnsafeUnpin for RmsNormRecord<B>where
<B as BackendTypes>::Device: UnsafeUnpin,
<B as BackendTypes>::FloatTensorPrimitive: UnsafeUnpin,
<B as BackendTypes>::QuantizedTensorPrimitive: UnsafeUnpin,
impl<B> !UnwindSafe for RmsNormRecord<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