pub struct EmbeddingWeights {
pub cardinality_weight: f64,
pub arity_weight: f64,
pub name_weight: f64,
pub structural_weight: f64,
}Expand description
Weights for different embedding features.
Fields§
§cardinality_weight: f64Weight for cardinality-based features
arity_weight: f64Weight for arity-based features
name_weight: f64Weight for name-based features
structural_weight: f64Weight for structural features
Trait Implementations§
Source§impl Clone for EmbeddingWeights
impl Clone for EmbeddingWeights
Source§fn clone(&self) -> EmbeddingWeights
fn clone(&self) -> EmbeddingWeights
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 EmbeddingWeights
impl Debug for EmbeddingWeights
Auto Trait Implementations§
impl Freeze for EmbeddingWeights
impl RefUnwindSafe for EmbeddingWeights
impl Send for EmbeddingWeights
impl Sync for EmbeddingWeights
impl Unpin for EmbeddingWeights
impl UnwindSafe for EmbeddingWeights
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