pub struct HashGnnOptions {
pub dimensions: usize,
pub iterations: usize,
pub embedding_density: f64,
pub heterogeneous: bool,
pub node_type_property: Option<String>,
pub relationship_type_property: Option<String>,
pub seed: u64,
}Expand description
HashGNN v1 options.
Fields§
§dimensions: usizeOutput vector width.
iterations: usizeMinhash propagation rounds.
embedding_density: f64Initial active-coordinate fraction.
heterogeneous: boolWhether explicit heterogeneous type properties enter hashing.
node_type_property: Option<String>Explicit graph-native node type property.
relationship_type_property: Option<String>Explicit graph-native relationship type property.
seed: u64Caller seed; omission normalizes to zero.
Trait Implementations§
Source§impl Clone for HashGnnOptions
impl Clone for HashGnnOptions
Source§fn clone(&self) -> HashGnnOptions
fn clone(&self) -> HashGnnOptions
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 moreSource§impl Debug for HashGnnOptions
impl Debug for HashGnnOptions
Source§impl Default for HashGnnOptions
impl Default for HashGnnOptions
Source§impl PartialEq for HashGnnOptions
impl PartialEq for HashGnnOptions
impl StructuralPartialEq for HashGnnOptions
Auto Trait Implementations§
impl Freeze for HashGnnOptions
impl RefUnwindSafe for HashGnnOptions
impl Send for HashGnnOptions
impl Sync for HashGnnOptions
impl Unpin for HashGnnOptions
impl UnsafeUnpin for HashGnnOptions
impl UnwindSafe for HashGnnOptions
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