pub struct SentenceEmbeddingsModelOutput {
pub embeddings: Tensor,
pub all_attentions: Option<Vec<Tensor>>,
}
Expand description
Container for the SentenceEmbeddings model output.
Fields§
§embeddings: Tensor
§all_attentions: Option<Vec<Tensor>>
Auto Trait Implementations§
impl RefUnwindSafe for SentenceEmbeddingsModelOutput
impl Send for SentenceEmbeddingsModelOutput
impl !Sync for SentenceEmbeddingsModelOutput
impl Unpin for SentenceEmbeddingsModelOutput
impl UnwindSafe for SentenceEmbeddingsModelOutput
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