pub struct LigandMPNN { /* private fields */ }Implementations§
Source§impl LigandMPNN
impl LigandMPNN
pub fn new() -> Result<Self>
pub fn run_model( &self, ac: AtomCollection, position: i64, temperature: f32, ) -> Result<Tensor>
pub fn run_encoder( &self, ac: &AtomCollection, ) -> Result<(ArrayBase<OwnedRepr<f32>, Dim<IxDynImpl>>, ArrayBase<OwnedRepr<f32>, Dim<IxDynImpl>>, ArrayBase<OwnedRepr<i64>, Dim<IxDynImpl>>)>
pub fn run_decoder( &self, h_v: ArrayBase<OwnedRepr<f32>, Dim<IxDynImpl>>, h_e: ArrayBase<OwnedRepr<f32>, Dim<IxDynImpl>>, e_idx: ArrayBase<OwnedRepr<i64>, Dim<IxDynImpl>>, temperature: f32, position: i64, ) -> Result<Tensor>
pub fn get_single_location( &self, ac: AtomCollection, temp: f32, position: i64, ) -> Result<Vec<PseudoProbability>>
pub fn get_all_locations(&self, temp: f32) -> Result<Vec<PseudoProbability>>
Auto Trait Implementations§
impl Freeze for LigandMPNN
impl !RefUnwindSafe for LigandMPNN
impl !Send for LigandMPNN
impl !Sync for LigandMPNN
impl Unpin for LigandMPNN
impl UnsafeUnpin for LigandMPNN
impl !UnwindSafe for LigandMPNN
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