pub struct Mamba2LayersRecord<B: Backend> {
pub n_real_layers: EmptyRecord,
pub n_virtual_layers: EmptyRecord,
pub real_layers: <Vec<Mamba2Layer<B>> as Module<B>>::Record,
pub ignore_first_residual: EmptyRecord,
pub ignore_last_residual: EmptyRecord,
}Expand description
The record type for the module.
Fields§
§n_real_layers: EmptyRecord§n_virtual_layers: EmptyRecord§real_layers: <Vec<Mamba2Layer<B>> as Module<B>>::RecordThe module record associative type.
ignore_first_residual: EmptyRecord§ignore_last_residual: EmptyRecordTrait Implementations§
Source§impl<B: Backend> Record<B> for Mamba2LayersRecord<B>
impl<B: Backend> Record<B> for Mamba2LayersRecord<B>
Auto Trait Implementations§
impl<B> Freeze for Mamba2LayersRecord<B>
impl<B> !RefUnwindSafe for Mamba2LayersRecord<B>
impl<B> Send for Mamba2LayersRecord<B>
impl<B> Sync for Mamba2LayersRecord<B>
impl<B> Unpin for Mamba2LayersRecord<B>
impl<B> UnsafeUnpin for Mamba2LayersRecord<B>
impl<B> !UnwindSafe for Mamba2LayersRecord<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