Trait tract_nnef::internal::OpState[][src]

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>
[src]

Loading content...

Implementations on Foreign Types

impl OpState for SourceState[src]

Loading content...

Implementors

Loading content...