pub struct BpeMerge {
pub left: u32,
pub right: u32,
}Expand description
One learned byte-pair merge. Merge rank i creates token 256 + i.
Fields§
§left: u32Left byte or previously learned token.
right: u32Right byte or previously learned token.
Trait Implementations§
impl Copy for BpeMerge
impl Eq for BpeMerge
impl StructuralPartialEq for BpeMerge
Auto Trait Implementations§
impl Forget for BpeMerge
impl Freeze for BpeMerge
impl Move for BpeMerge
impl RefUnwindSafe for BpeMerge
impl Send for BpeMerge
impl Sync for BpeMerge
impl Unpin for BpeMerge
impl UnsafeUnpin for BpeMerge
impl UnwindSafe for BpeMerge
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