pub struct AmplifyRunner { /* private fields */ }
Implementations§
Source§impl AmplifyRunner
impl AmplifyRunner
pub fn load_model( modeltype: AmplifyModels, device: Device, ) -> Result<AmplifyRunner>
pub fn run_forward(&self, prot_sequence: &str) -> Result<ModelOutput>
pub fn get_best_prediction( &self, prot_sequence: &str, ) -> Result<String, Box<dyn Error + Send + Sync>>
pub fn get_pseudo_probabilities( &self, prot_sequence: &str, ) -> Result<Vec<PseudoProbability>>
pub fn get_contact_map(&self, prot_sequence: &str) -> Result<Vec<ContactMap>>
Auto Trait Implementations§
impl !Freeze for AmplifyRunner
impl !RefUnwindSafe for AmplifyRunner
impl Send for AmplifyRunner
impl Sync for AmplifyRunner
impl Unpin for AmplifyRunner
impl !UnwindSafe for AmplifyRunner
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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