pub struct EdgeFeatures {
pub values: Vec<f64>,
pub edge_count: usize,
}Expand description
Edge features for attention-weighted message passing.
Stores per-edge feature values used in attention mechanisms (e.g. GAT).
Fields§
§values: Vec<f64>Per-edge feature values.
edge_count: usizeNumber of edges (must equal values.len()).
Trait Implementations§
Source§impl Clone for EdgeFeatures
impl Clone for EdgeFeatures
Source§fn clone(&self) -> EdgeFeatures
fn clone(&self) -> EdgeFeatures
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 EdgeFeatures
impl RefUnwindSafe for EdgeFeatures
impl Send for EdgeFeatures
impl Sync for EdgeFeatures
impl Unpin for EdgeFeatures
impl UnsafeUnpin for EdgeFeatures
impl UnwindSafe for EdgeFeatures
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