[−]Trait tract_tensorflow::prelude::SpecialOps
Required methods
fn create_dummy(&self) -> O
fn create_source(&self, fact: F) -> O
fn is_source(op: &O) -> bool
fn wire_node(
&mut self,
name: impl Into<String>,
op: impl Into<O>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
&mut self,
name: impl Into<String>,
op: impl Into<O>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
Implementors
impl SpecialOps<InferenceFact, Box<dyn InferenceOp + 'static>> for Graph<InferenceFact, Box<dyn InferenceOp + 'static>>
[src]
fn is_source(op: &Box<dyn InferenceOp + 'static>) -> bool
[src]
fn create_dummy(&self) -> Box<dyn InferenceOp + 'static>ⓘ
[src]
fn create_source(&self, _fact: InferenceFact) -> Box<dyn InferenceOp + 'static>ⓘ
[src]
fn wire_node(
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn InferenceOp + 'static>>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
[src]
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn InferenceOp + 'static>>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
impl SpecialOps<TypedFact, Box<dyn TypedOp + 'static>> for Graph<TypedFact, Box<dyn TypedOp + 'static>>
fn is_source(op: &Box<dyn TypedOp + 'static>) -> bool
fn create_dummy(&self) -> Box<dyn TypedOp + 'static>ⓘ
fn create_source(&self, fact: TypedFact) -> Box<dyn TypedOp + 'static>ⓘ
fn wire_node(
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn TypedOp + 'static>>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn TypedOp + 'static>>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
impl SpecialOps<PulsedFact, Box<dyn PulsedOp + 'static>> for Graph<PulsedFact, Box<dyn PulsedOp + 'static>>
fn is_source(op: &Box<dyn PulsedOp + 'static>) -> bool
fn create_source(&self, fact: PulsedFact) -> Box<dyn PulsedOp + 'static>ⓘ
fn create_dummy(&self) -> Box<dyn PulsedOp + 'static>ⓘ
fn wire_node(
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn PulsedOp + 'static>>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn PulsedOp + 'static>>,
inputs: &[OutletId]
) -> Result<SmallVec<[OutletId; 4]>, TractError>