pub struct DecLayerJ { /* private fields */ }Expand description
DecLayer applied one dimension deeper, over LigandMPNN’s ligand graph.
Port of DecLayerJ
(model_utils.py).
Structurally identical to DecLayer — same weight names, same
W3(act(W2(act(W1)))) message and same two residual norms — and the
reference comments the single difference as “the only difference”: the node
expansion.
DecLayer carries h_V as (B, L, C) and broadcasts it over K
neighbours. Here h_V is Y_nodes, already (B, L, M, C) — one node per
(residue, ligand atom) pair — and it broadcasts over the ligand graph’s own
M edges to (B, L, M, M, C).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DecLayerJ
impl !UnwindSafe for DecLayerJ
impl Freeze for DecLayerJ
impl Send for DecLayerJ
impl Sync for DecLayerJ
impl Unpin for DecLayerJ
impl UnsafeUnpin for DecLayerJ
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