Trait tract_core::ops::EvalOp
source · pub trait EvalOp {
fn is_stateless(&self) -> bool;
fn eval(&self, inputs: TVec<TValue>) -> TractResult<TVec<TValue>> { ... }
fn state(
&self,
session: &mut SessionState,
node_id: usize
) -> TractResult<Option<Box<dyn OpState>>> { ... }
}