pub struct ForwardOutput {
pub h_spatial: Vec<f32>,
pub h_temporal: Vec<f32>,
pub h_physics: Vec<f32>,
pub h_fused: Vec<f32>,
pub logits: Vec<f32>,
pub probs: Vec<f32>,
pub alpha: f32,
}Expand description
Outputs of a single-node forward pass.
Fields§
§h_spatial: Vec<f32>Spatial branch embedding.
h_temporal: Vec<f32>Temporal branch embedding.
h_physics: Vec<f32>Physics prior embedding.
h_fused: Vec<f32>Fused hidden: α·h_s + (1-α)·h_t + γ·h_p.
logits: Vec<f32>Classification logits.
probs: Vec<f32>Softmax probabilities.
alpha: f32Adaptive fusion weight α = σ(α_logit).
Trait Implementations§
Source§impl Clone for ForwardOutput
impl Clone for ForwardOutput
Auto Trait Implementations§
impl Freeze for ForwardOutput
impl RefUnwindSafe for ForwardOutput
impl Send for ForwardOutput
impl Sync for ForwardOutput
impl Unpin for ForwardOutput
impl UnsafeUnpin for ForwardOutput
impl UnwindSafe for ForwardOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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