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