Type Definition tract_pulse::model::PulsedModel [−][src]
type PulsedModel = Graph<PulsedFact, Box<dyn PulsedOp>>;
Trait Implementations
impl PulsedModelExt for PulsedModel
[src]
fn new(source: &TypedModel, pulse: usize) -> TractResult<PulsedModel>
[src]
fn new_with_mapping(
source: &TypedModel,
pulse: usize
) -> TractResult<(PulsedModel, HashMap<OutletId, OutletId>)>
[src]
source: &TypedModel,
pulse: usize
) -> TractResult<(PulsedModel, HashMap<OutletId, OutletId>)>
fn into_typed(self) -> TractResult<TypedModel>
[src]
impl SpecialOps<PulsedFact, Box<dyn PulsedOp + 'static, Global>> for PulsedModel
[src]
fn is_source(op: &Box<dyn PulsedOp>) -> bool
[src]
fn create_source(&self, fact: PulsedFact) -> Box<dyn PulsedOp>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
A: Allocator + 'static,
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
A: Allocator + 'static,
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
fn create_dummy(&self) -> Box<dyn PulsedOp>ⓘNotable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
A: Allocator + 'static,
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
[src]
Notable traits for Box<R, Global>
impl<R> Read for Box<R, Global> where
R: Read + ?Sized, impl<W> Write for Box<W, Global> where
W: Write + ?Sized, impl<F, A> Future for Box<F, A> where
A: Allocator + 'static,
F: Future + Unpin + ?Sized, type Output = <F as Future>::Output;impl<I, A> Iterator for Box<I, A> where
A: Allocator,
I: Iterator + ?Sized, type Item = <I as Iterator>::Item;
fn wire_node(
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn PulsedOp>>,
inputs: &[OutletId]
) -> TractResult<TVec<OutletId>>
[src]
&mut self,
name: impl Into<String>,
op: impl Into<Box<dyn PulsedOp>>,
inputs: &[OutletId]
) -> TractResult<TVec<OutletId>>