[−][src]Trait tract_nnef::internal::StatefullOp
Required methods
fn state(
&self,
session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
&self,
session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
Provided methods
fn as_stateless(&self) -> Option<&(dyn StatelessOp + 'static)>
Implementations on Foreign Types
impl StatefullOp for PulsedSource
[src]
fn state(
&self,
_session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
impl StatefullOp for Delay
[src]
fn state(
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
impl StatefullOp for TypedSource
[src]
fn state(
&self,
_session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
impl StatefullOp for LirScan
[src]
fn state(
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
impl StatefullOp for UnimplementedOp
[src]
fn state(
&self,
_session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
impl StatefullOp for Scan
[src]
fn state(
&self,
session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
session: &mut SessionState,
node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
impl StatefullOp for PulsePad
[src]
fn state(
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
Implementors
impl<O> StatefullOp for O where
O: StatelessOp + Clone,
[src]
O: StatelessOp + Clone,
fn state(
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>
[src]
&self,
_session: &mut SessionState,
_node_id: usize
) -> Result<Option<Box<dyn OpState + 'static>>, TractError>