pub struct MsaCache<B: Backend> {
pub k_cache: Tensor<B, 4>,
pub v_cache: Tensor<B, 4>,
pub k_idx_cache: Tensor<B, 4>,
}Fields§
§k_cache: Tensor<B, 4>§v_cache: Tensor<B, 4>§k_idx_cache: Tensor<B, 4>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<B> Freeze for MsaCache<B>
impl<B> RefUnwindSafe for MsaCache<B>where
Tensor<B, 4>: RefUnwindSafe,
impl<B> Send for MsaCache<B>
impl<B> Sync for MsaCache<B>
impl<B> Unpin for MsaCache<B>
impl<B> UnsafeUnpin for MsaCache<B>where
Tensor<B, 4>: UnsafeUnpin,
impl<B> UnwindSafe for MsaCache<B>where
Tensor<B, 4>: UnwindSafe,
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<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more