[][src]Struct tract_core::pulse::PulsedFact

pub struct PulsedFact {
    pub datum_type: DatumType,
    pub shape: TVec<usize>,
    pub axis: usize,
    pub dim: TDim,
    pub delay: usize,
}

Fields

datum_type: DatumTypeshape: TVec<usize>axis: usizedim: TDimdelay: usize

Methods

impl PulsedFact[src]

pub fn from_tensor_fact_pulse(
    tf: &NormalizedFact,
    pulse: usize
) -> TractResult<PulsedFact>
[src]

pub fn pulse(&self) -> usize[src]

pub fn to_pulse_fact(&self) -> NormalizedFact[src]

pub fn streaming_shape(&self) -> Vec<TDim>[src]

pub fn to_streaming_fact(&self) -> NormalizedFact[src]

Trait Implementations

impl Translate<NormalizedFact, Box<dyn TypedOp + 'static>, PulsedFact, Box<dyn PulsedOp + 'static>, usize> for Box<dyn TypedOp>[src]

impl Translate<PulsedFact, Box<dyn PulsedOp + 'static>, TypedFact, Box<dyn TypedOp + 'static>, ()> for Box<dyn PulsedOp>[src]

impl ModelSpecialOps<PulsedFact, Box<dyn TypedOp + 'static>> for PulsedModel[src]

impl ModelWireNode<PulsedFact, Box<dyn PulsedOp + 'static>> for PulsedModel[src]

impl Fact for PulsedFact[src]

impl Clone for PulsedFact[src]

impl PartialEq<PulsedFact> for PulsedFact[src]

impl Debug for PulsedFact[src]

impl TryFrom<PulsedFact> for TypedFact[src]

type Error = TractError

The type returned in the event of a conversion error.

impl StructuralPartialEq for PulsedFact[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> Clone for T where
    T: Clone
[src]