Trait tract_pulse::internal::tract_core::ops::OpState[]

pub trait OpState: Debug + Send + DynClone {
    pub fn eval(
        &mut self,
        session: &mut SessionState,
        op: &(dyn Op + 'static),
        inputs: SmallVec<[Arc<Tensor>; 4]>
    ) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>; }

Required methods

pub fn eval(
    &mut self,
    session: &mut SessionState,
    op: &(dyn Op + 'static),
    inputs: SmallVec<[Arc<Tensor>; 4]>
) -> Result<SmallVec<[Arc<Tensor>; 4]>, Error>

Loading content...

Implementors

impl OpState for SourceState

Loading content...