pub struct PlanRuntimeDecodeOutput {
pub sampling_output: ExecutorSamplingOutput,
pub kv_cache: Arc<dyn KvCacheHandle>,
}Expand description
Tensor-free decode output from a plan-runtime executor.
Fields§
§sampling_output: ExecutorSamplingOutput§kv_cache: Arc<dyn KvCacheHandle>Implementations§
Source§impl PlanRuntimeDecodeOutput
impl PlanRuntimeDecodeOutput
pub fn new( sampling_output: ExecutorSamplingOutput, kv_cache: Arc<dyn KvCacheHandle>, ) -> Self
Trait Implementations§
Source§impl Clone for PlanRuntimeDecodeOutput
impl Clone for PlanRuntimeDecodeOutput
Source§fn clone(&self) -> PlanRuntimeDecodeOutput
fn clone(&self) -> PlanRuntimeDecodeOutput
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for PlanRuntimeDecodeOutput
impl !UnwindSafe for PlanRuntimeDecodeOutput
impl Freeze for PlanRuntimeDecodeOutput
impl Send for PlanRuntimeDecodeOutput
impl Sync for PlanRuntimeDecodeOutput
impl Unpin for PlanRuntimeDecodeOutput
impl UnsafeUnpin for PlanRuntimeDecodeOutput
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