pub struct EdgeFeaturedConfig {
pub node_dim: usize,
pub edge_dim: usize,
pub num_heads: usize,
pub dropout: f32,
pub concat_heads: bool,
pub add_self_loops: bool,
pub negative_slope: f32,
}Expand description
Configuration for edge-featured attention
Fields§
§node_dim: usize§edge_dim: usize§num_heads: usize§dropout: f32§concat_heads: bool§add_self_loops: bool§negative_slope: f32Implementations§
Trait Implementations§
Source§impl Clone for EdgeFeaturedConfig
impl Clone for EdgeFeaturedConfig
Source§fn clone(&self) -> EdgeFeaturedConfig
fn clone(&self) -> EdgeFeaturedConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeFeaturedConfig
impl Debug for EdgeFeaturedConfig
Auto Trait Implementations§
impl Freeze for EdgeFeaturedConfig
impl RefUnwindSafe for EdgeFeaturedConfig
impl Send for EdgeFeaturedConfig
impl Sync for EdgeFeaturedConfig
impl Unpin for EdgeFeaturedConfig
impl UnwindSafe for EdgeFeaturedConfig
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