pub struct Int8EmbeddingsView<'a> {
pub scales: &'a [u8],
pub bodies: &'a [u8],
pub n: usize,
pub dim: usize,
}Expand description
Decoded view over an int8 embeddings payload. The slices borrow from the input bytes (no copy).
Fields§
§scales: &'a [u8]§bodies: &'a [u8]§n: usize§dim: usizeImplementations§
Auto Trait Implementations§
impl<'a> Freeze for Int8EmbeddingsView<'a>
impl<'a> RefUnwindSafe for Int8EmbeddingsView<'a>
impl<'a> Send for Int8EmbeddingsView<'a>
impl<'a> Sync for Int8EmbeddingsView<'a>
impl<'a> Unpin for Int8EmbeddingsView<'a>
impl<'a> UnsafeUnpin for Int8EmbeddingsView<'a>
impl<'a> UnwindSafe for Int8EmbeddingsView<'a>
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