pub struct EmbeddingChunk {
pub room: u64,
pub source: u64,
pub rows: i64,
pub hidden: i64,
pub dtype: String,
pub nbytes: u64,
pub deepstack_source: u64,
pub deepstack_width: i64,
pub deepstack_nbytes: u64,
}Expand description
EPD, an encode rank: one item’s embedding in its send slot, as the transfer engine reads it.
Fields§
§room: u64The room the prefill ranks receive it under.
source: u64The rows’ address.
rows: i64The image’s rows.
Elements per row.
dtype: StringThe rows’ dtype (str(torch.dtype)).
nbytes: u64The rows’ bytes.
deepstack_source: u64The deepstack rows’ address; 0 without deepstack.
deepstack_width: i64Elements per deepstack row; 0 without deepstack.
deepstack_nbytes: u64The deepstack rows’ bytes.
Trait Implementations§
Source§impl Clone for EmbeddingChunk
impl Clone for EmbeddingChunk
Source§impl Debug for EmbeddingChunk
impl Debug for EmbeddingChunk
impl Eq for EmbeddingChunk
Source§impl PartialEq for EmbeddingChunk
impl PartialEq for EmbeddingChunk
impl StructuralPartialEq for EmbeddingChunk
Auto Trait Implementations§
impl Freeze for EmbeddingChunk
impl RefUnwindSafe for EmbeddingChunk
impl Send for EmbeddingChunk
impl Sync for EmbeddingChunk
impl Unpin for EmbeddingChunk
impl UnsafeUnpin for EmbeddingChunk
impl UnwindSafe for EmbeddingChunk
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.