Trait tract_core::model::SpecialOps [−][src]
pub trait SpecialOps<F, O> {
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]
) -> TractResult<TVec<OutletId>>;
}