pub struct Inputs<'a> {
pub gpu: &'a dyn GpuBackend,
pub config: &'a ModelConfig,
pub kernels: &'a KernelTable,
pub fixed: &'a Fixed,
pub layers: &'a [CircuitLayer],
pub head: &'a HeadBinding,
pub draft: Option<&'a CircuitLayer>,
}Expand description
2026-09-28: Everything compile reads besides the plan.
Fields§
§gpu: &'a dyn GpuBackend§config: &'a ModelConfig§kernels: &'a KernelTable§fixed: &'a Fixed§layers: &'a [CircuitLayer]§head: &'a HeadBinding§draft: Option<&'a CircuitLayer>Auto Trait Implementations§
impl<'a> Freeze for Inputs<'a>
impl<'a> !RefUnwindSafe for Inputs<'a>
impl<'a> Send for Inputs<'a>
impl<'a> Sync for Inputs<'a>
impl<'a> Unpin for Inputs<'a>
impl<'a> !UnwindSafe for Inputs<'a>
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