pub struct MultiModalEmbeddings {
pub text_embeddings: Vec<f32>,
pub visual_embeddings: Option<Vec<f32>>,
pub table_embeddings: Option<Vec<f32>>,
pub fused_embedding: Vec<f32>,
pub weights: EmbeddingWeights,
}Expand description
Multi-modal embeddings
Fields§
§text_embeddings: Vec<f32>Text embeddings
visual_embeddings: Option<Vec<f32>>Visual embeddings (averaged)
table_embeddings: Option<Vec<f32>>Table embeddings (averaged)
fused_embedding: Vec<f32>Fused embedding
weights: EmbeddingWeightsEmbedding weights
Trait Implementations§
Source§impl Clone for MultiModalEmbeddings
impl Clone for MultiModalEmbeddings
Source§fn clone(&self) -> MultiModalEmbeddings
fn clone(&self) -> MultiModalEmbeddings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiModalEmbeddings
impl Debug for MultiModalEmbeddings
Source§impl<'de> Deserialize<'de> for MultiModalEmbeddings
impl<'de> Deserialize<'de> for MultiModalEmbeddings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MultiModalEmbeddings
impl RefUnwindSafe for MultiModalEmbeddings
impl Send for MultiModalEmbeddings
impl Sync for MultiModalEmbeddings
impl Unpin for MultiModalEmbeddings
impl UnwindSafe for MultiModalEmbeddings
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