pub struct ProofTrace {
pub proof_id: u64,
pub answer_key: String,
pub clause_id: String,
pub support_atoms: Vec<String>,
pub weight: f64,
pub gradient: f64,
}Expand description
Exported differentiable proof trace.
Fields§
§proof_id: u64Stable proof identifier derived from answer, clause, and support atoms.
answer_key: StringStable answer key.
clause_id: StringSymbolic clause identifier.
support_atoms: Vec<String>Atoms supporting the proof path.
weight: f64Current symbolic clause weight.
gradient: f64Accumulated gradient for the current training step.
Trait Implementations§
Source§impl Clone for ProofTrace
impl Clone for ProofTrace
Source§fn clone(&self) -> ProofTrace
fn clone(&self) -> ProofTrace
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 ProofTrace
impl Debug for ProofTrace
Source§impl PartialEq for ProofTrace
impl PartialEq for ProofTrace
Source§fn eq(&self, other: &ProofTrace) -> bool
fn eq(&self, other: &ProofTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProofTrace
Auto Trait Implementations§
impl Freeze for ProofTrace
impl RefUnwindSafe for ProofTrace
impl Send for ProofTrace
impl Sync for ProofTrace
impl Unpin for ProofTrace
impl UnsafeUnpin for ProofTrace
impl UnwindSafe for ProofTrace
Blanket Implementations§
impl<T> Allocation for T
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