[][src]Trait tract_hir::internal::StatefullOp

pub trait StatefullOp {
    fn state(
        &self,
        session: &mut SessionState,
        node_id: usize
    ) -> Result<Option<Box<dyn OpState + 'static>>, TractError>; fn as_stateless(&self) -> Option<&(dyn StatelessOp + 'static)> { ... } }

Required methods

fn state(
    &self,
    session: &mut SessionState,
    node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>

Loading content...

Provided methods

fn as_stateless(&self) -> Option<&(dyn StatelessOp + 'static)>

Loading content...

Implementations on Foreign Types

impl StatefullOp for Delay[src]

impl StatefullOp for TypedSource[src]

impl StatefullOp for PulsedSource[src]

Loading content...

Implementors

impl StatefullOp for InferenceScan[src]

impl StatefullOp for Scan[src]

impl StatefullOp for Source[src]

impl StatefullOp for UnimplementedOp[src]

impl<O> StatefullOp for O where
    O: StatelessOp + Clone
[src]

Loading content...