pub enum RopeType {
Norm,
NeoX,
MRope,
Vision,
}Expand description
The Rope type that’s used within the model.
Variants§
Norm
Standard rotary positional encoding.
NeoX
GPT-NeoX style rotary positional encoding.
MRope
Multi-dimensional rotary positional encoding.
Vision
Vision model rotary positional encoding.
Trait Implementations§
impl Copy for RopeType
impl Eq for RopeType
impl StructuralPartialEq for RopeType
Auto Trait Implementations§
impl Freeze for RopeType
impl RefUnwindSafe for RopeType
impl Send for RopeType
impl Sync for RopeType
impl Unpin for RopeType
impl UnsafeUnpin for RopeType
impl UnwindSafe for RopeType
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