pub trait EvalOp {
    fn is_stateless(&self) -> bool;

    fn eval(
        &self,
        inputs: SmallVec<[TValue; 4]>
    ) -> Result<SmallVec<[TValue; 4]>, Error> { ... } fn state(
        &self,
        session: &mut SessionState,
        node_id: usize
    ) -> Result<Option<Box<dyn OpState + 'static, Global>>, Error> { ... } }

Required Methods§

Provided Methods§

Implementations on Foreign Types§

Implementors§