pub struct ProteinMPNNConfig {Show 15 fields
pub atom_context_num: usize,
pub augment_eps: f32,
pub dropout_ratio: f32,
pub edge_features: i64,
pub hidden_dim: i64,
pub k_neighbors: i64,
pub ligand_mpnn_use_side_chain_context: bool,
pub model_type: ModelTypes,
pub node_features: i64,
pub num_decoder_layers: i64,
pub num_encoder_layers: i64,
pub num_letters: i64,
pub num_rbf: i64,
pub scale_factor: f64,
pub vocab: i64,
}Fields§
§atom_context_num: usize§augment_eps: f32§dropout_ratio: f32§edge_features: i64§k_neighbors: i64§ligand_mpnn_use_side_chain_context: bool§model_type: ModelTypes§node_features: i64§num_decoder_layers: i64§num_encoder_layers: i64§num_letters: i64§num_rbf: i64§scale_factor: f64§vocab: i64Implementations§
Source§impl ProteinMPNNConfig
impl ProteinMPNNConfig
pub fn proteinmpnn() -> Self
Sourcepub fn ligandmpnn() -> Self
pub fn ligandmpnn() -> Self
ligandmpnn_v_32_020_25: 32 neighbours, 25 ligand context atoms.
k_neighbors and atom_context_num are checkpoint facts — the .pt
carries them as num_edges and atom_context_num — but they are plain
Python ints rather than tensors, so candle’s pickle reader does not
surface them and they are declared here instead. Verified against the
four checkpoints in ferritin-test-data (ferritin-100.11).
Trait Implementations§
Source§impl Clone for ProteinMPNNConfig
impl Clone for ProteinMPNNConfig
Source§fn clone(&self) -> ProteinMPNNConfig
fn clone(&self) -> ProteinMPNNConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProteinMPNNConfig
impl RefUnwindSafe for ProteinMPNNConfig
impl Send for ProteinMPNNConfig
impl Sync for ProteinMPNNConfig
impl Unpin for ProteinMPNNConfig
impl UnsafeUnpin for ProteinMPNNConfig
impl UnwindSafe for ProteinMPNNConfig
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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