[−][src]Trait tract_hir::internal::ModelSpecialOps
Required methods
fn add_source(
&mut self,
name: impl Into<String>,
fact: F
) -> Result<OutletId, TractError>
&mut self,
name: impl Into<String>,
fact: F
) -> Result<OutletId, TractError>
Adds a source op to the network.
The model will assume this is an input.
fn is_source(op: &(dyn Op + 'static)) -> bool
fn create_dummy(&self) -> O
Implementors
impl ModelSpecialOps<InferenceFact, Box<dyn InferenceOp + 'static>> for InferenceModel
[src]
fn add_source(
&mut self,
name: impl Into<String>,
fact: InferenceFact
) -> TractResult<OutletId>
[src]
&mut self,
name: impl Into<String>,
fact: InferenceFact
) -> TractResult<OutletId>
fn is_source(op: &dyn Op) -> bool
[src]
fn create_dummy(&self) -> Box<dyn InferenceOp>
[src]
impl ModelSpecialOps<PulsedFact, Box<dyn TypedOp + 'static>> for ModelImpl<PulsedFact, Box<dyn PulsedOp + 'static>>
[src]
fn add_source(
&mut self,
name: impl Into<String>,
fact: PulsedFact
) -> Result<OutletId, TractError>
[src]
&mut self,
name: impl Into<String>,
fact: PulsedFact
) -> Result<OutletId, TractError>