pub enum ProstT5Models {
XlFp16,
}Expand description
Available ProstT5 variants.
Variants§
XlFp16
Rostlab/ProstT5_fp16 — the half-precision build. The F32
Rostlab/ProstT5 is the same weights at 11.3 GB instead of 5.6 GB.
Implementations§
Source§impl ProstT5Models
impl ProstT5Models
Sourcepub const fn registry_id(&self) -> &'static str
pub const fn registry_id(&self) -> &'static str
This variant’s registry id.
Sourcepub const fn published_dtype(&self) -> DType
pub const fn published_dtype(&self) -> DType
The precision this checkpoint is published at.
Auto Trait Implementations§
impl Freeze for ProstT5Models
impl RefUnwindSafe for ProstT5Models
impl Send for ProstT5Models
impl Sync for ProstT5Models
impl Unpin for ProstT5Models
impl UnsafeUnpin for ProstT5Models
impl UnwindSafe for ProstT5Models
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
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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