Trait tract_pulse::ops::PulsedOp[][src]

pub trait PulsedOp: Op + Debug + DynClone + Send + Sync + 'static + Downcast + EvalOp + DynHash {
    fn as_op(&self) -> &dyn Op;
fn as_op_mut(&mut self) -> &mut dyn Op;
fn to_typed(&self) -> Box<dyn TypedOp>

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 pulsed_output_facts(
        &self,
        inputs: &[&PulsedFact]
    ) -> TractResult<TVec<PulsedFact>>; }

Required methods

fn as_op(&self) -> &dyn Op[src]

Reinterpret the PulsedOp as an Op.

fn as_op_mut(&mut self) -> &mut dyn Op[src]

Reinterpret the PulsedOp as an Op, mutably.

fn to_typed(&self) -> Box<dyn TypedOp>

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]

Reinterpret the PulsedOp as an TypedOp.

fn pulsed_output_facts(
    &self,
    inputs: &[&PulsedFact]
) -> TractResult<TVec<PulsedFact>>
[src]

Deduce output facts from input facts.

Loading content...

Trait Implementations

impl AsMut<dyn Op + 'static> for dyn PulsedOp[src]

impl AsRef<dyn Op + 'static> for dyn PulsedOp[src]

Implementations on Foreign Types

impl PulsedOp for PulsePad[src]

impl PulsedOp for Delay[src]

Loading content...

Implementors

impl PulsedOp for AxisOp[src]

impl PulsedOp for Slice[src]

impl PulsedOp for TypedBinOp[src]

impl PulsedOp for UnaryOp[src]

impl PulsedOp for ConvUnary[src]

impl PulsedOp for MaxPool[src]

impl PulsedOp for SumPool[src]

impl PulsedOp for Dummy[src]

impl PulsedOp for ElementWiseOp[src]

impl PulsedOp for Iff[src]

impl PulsedOp for MatMulUnary[src]

impl PulsedOp for Reduce[src]

impl PulsedOp for DequantizeLinearF32[src]

impl PulsedOp for Scan[src]

impl PulsedOp for Downsample[src]

impl PulsedOp for PulsedSource[src]

Loading content...