[][src]Trait tract_hir::internal::PulsedOp

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

Notable traits for Box<R>

impl<R> Read for Box<R> where
    R: Read + ?Sized
impl<W> Write for Box<W> where
    W: Write + ?Sized
impl<F> Future for Box<F> where
    F: Unpin + Future + ?Sized
type Output = <F as Future>::Output;impl<I> Iterator for Box<I> where
    I: Iterator + ?Sized
type Item = <I as Iterator>::Item;
;
fn pulsed_output_facts(
        &self,
        inputs: &[&PulsedFact]
    ) -> Result<SmallVec<[PulsedFact; 4]>, TractError>; }

Required methods

fn as_op(&self) -> &(dyn Op + 'static)

Reinterpret the PulsedOp as an Op.

fn as_op_mut(&mut self) -> &mut (dyn Op + 'static)

Reinterpret the PulsedOp as an Op, mutably.

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

Notable traits for Box<R>

impl<R> Read for Box<R> where
    R: Read + ?Sized
impl<W> Write for Box<W> where
    W: Write + ?Sized
impl<F> Future for Box<F> where
    F: Unpin + Future + ?Sized
type Output = <F as Future>::Output;impl<I> Iterator for Box<I> where
    I: Iterator + ?Sized
type Item = <I as Iterator>::Item;

Reinterpret the PulsedOp as an TypedOp.

fn pulsed_output_facts(
    &self,
    inputs: &[&PulsedFact]
) -> Result<SmallVec<[PulsedFact; 4]>, TractError>

Deduce output facts from input facts.

Loading content...

Trait Implementations

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

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

Implementations on Foreign Types

impl PulsedOp for UnaryOp[src]

impl PulsedOp for Reduce[src]

impl PulsedOp for PulsePad[src]

impl PulsedOp for Delay[src]

impl PulsedOp for PulsedSource[src]

impl PulsedOp for TypedBinOp[src]

impl PulsedOp for MergeOpUnicast[src]

impl PulsedOp for MatMulUnary[src]

Loading content...

Implementors

impl PulsedOp for AxisOp[src]

impl PulsedOp for ConvUnary[src]

impl PulsedOp for MaxPool[src]

impl PulsedOp for SumPool[src]

impl PulsedOp for Downsample[src]

impl PulsedOp for Dummy[src]

impl PulsedOp for ElementWiseOp[src]

impl PulsedOp for Identity[src]

impl PulsedOp for DequantizeLinearF32[src]

impl PulsedOp for Scan[src]

impl<D> PulsedOp for Slice<D> where
    D: DimLike + ToDim + Hash
[src]

Loading content...