pub struct TinyXgcfSpec {Show 17 fields
pub num_nodes: usize,
pub num_vars: usize,
pub root: u32,
pub node_type: Vec<u8>,
pub child_offsets: Vec<u32>,
pub child_indices: Vec<u32>,
pub lit: Vec<i32>,
pub decision_var: Vec<u32>,
pub decision_child_false: Vec<u32>,
pub decision_child_true: Vec<u32>,
pub level_nodes: Vec<u32>,
pub levels: Vec<(u32, u32)>,
pub var_log_true: Vec<f64>,
pub var_log_false: Vec<f64>,
pub expected_values: Vec<f64>,
pub expected_grad_true: Vec<f64>,
pub expected_grad_false: Vec<f64>,
}Fields§
§num_nodes: usize§num_vars: usize§root: u32§node_type: Vec<u8>§child_offsets: Vec<u32>§child_indices: Vec<u32>§lit: Vec<i32>§decision_var: Vec<u32>§decision_child_false: Vec<u32>§decision_child_true: Vec<u32>§level_nodes: Vec<u32>§levels: Vec<(u32, u32)>§var_log_true: Vec<f64>§var_log_false: Vec<f64>§expected_values: Vec<f64>§expected_grad_true: Vec<f64>§expected_grad_false: Vec<f64>Trait Implementations§
Source§impl Clone for TinyXgcfSpec
impl Clone for TinyXgcfSpec
Source§fn clone(&self) -> TinyXgcfSpec
fn clone(&self) -> TinyXgcfSpec
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 moreAuto Trait Implementations§
impl Freeze for TinyXgcfSpec
impl RefUnwindSafe for TinyXgcfSpec
impl Send for TinyXgcfSpec
impl Sync for TinyXgcfSpec
impl Unpin for TinyXgcfSpec
impl UnsafeUnpin for TinyXgcfSpec
impl UnwindSafe for TinyXgcfSpec
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