pub struct DsparkProposal {
pub out_ids: Vec<u32>,
pub confidence: Vec<f32>,
pub margins: Vec<f32>,
pub top1_logits: Vec<f32>,
pub capture: Option<DsparkCaptureOut>,
}Expand description
One drafter proposal (host view). out_ids[0] is the input token; margins/top1
are adjudication instruments (populated only under capture).
Fields§
§out_ids: Vec<u32>§confidence: Vec<f32>§margins: Vec<f32>§top1_logits: Vec<f32>§capture: Option<DsparkCaptureOut>captured component arrays for the gate (dtoh): main_x, per-block outs, x_collapsed (pre-norm), post-markov logits rows, markov_embed.
Auto Trait Implementations§
impl Freeze for DsparkProposal
impl RefUnwindSafe for DsparkProposal
impl Send for DsparkProposal
impl Sync for DsparkProposal
impl Unpin for DsparkProposal
impl UnsafeUnpin for DsparkProposal
impl UnwindSafe for DsparkProposal
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