[][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>;
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>

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 Reduce[src]

impl PulsedOp for MergeOpUnicast[src]

impl PulsedOp for PulsedSource[src]

impl PulsedOp for TypedBinOp[src]

impl PulsedOp for UnaryOp[src]

impl PulsedOp for ElementWiseOp[src]

impl PulsedOp for Delay[src]

impl PulsedOp for MergeOp[src]

impl PulsedOp for MatMulUnary[src]

Loading content...

Implementors

impl PulsedOp for AxisOp[src]

impl PulsedOp for AvgPool[src]

impl PulsedOp for ConvUnary[src]

impl PulsedOp for MaxPool[src]

impl PulsedOp for Downsample[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...