pub struct EmbeddingLookupOp {
pub vocab: usize,
pub dim: usize,
pub tokens: usize,
}Fields§
§vocab: usize§dim: usize§tokens: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for EmbeddingLookupOp
impl RefUnwindSafe for EmbeddingLookupOp
impl Send for EmbeddingLookupOp
impl Sync for EmbeddingLookupOp
impl Unpin for EmbeddingLookupOp
impl UnsafeUnpin for EmbeddingLookupOp
impl UnwindSafe for EmbeddingLookupOp
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