Trait tract_pulse::ops::PulsedOp

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

Required Methods§

Reinterpret the PulsedOp as an Op.

Reinterpret the PulsedOp as an Op, mutably.

Reinterpret the PulsedOp as an TypedOp.

Deduce output facts from input facts.

Trait Implementations§

Converts this type into a mutable reference of the (usually inferred) input type.
Converts this type into a mutable reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
Converts this type into a shared reference of the (usually inferred) input type.
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more

Implementations on Foreign Types§

Implementors§