[][src]Struct tract_core::pulse::delay::Delay

pub struct Delay { /* fields omitted */ }

Methods

impl Delay
[src]

pub fn new(input_fact: PulsedTensorFact, delay: usize, overlap: usize) -> Self
[src]

Constructs a new Delay.

Trait Implementations

impl InferenceRulesOp for Delay
[src]

fn rules<'r, 'p: 'r, 's: 'r>(
    &'s self,
    _s: &mut Solver<'r>,
    _inputs: &'p SharedTensorsProxy,
    _outputs: &'p SharedTensorsProxy
) -> InferenceResult
[src]

Registers the inference rules of the operator.

impl StatefullOp for Delay
[src]

impl Op for Delay
[src]

fn infer(
    &self,
    inputs: TVec<&TensorFact>,
    outputs: TVec<&TensorFact>
) -> TractResult<(TVec<TensorFact>, TVec<TensorFact>)>
[src]

Infers properties about the input and output tensors. Read more

fn reduce(
    &self,
    _inputs: TVec<&TensorFact>,
    _outputs: TVec<&TensorFact>,
    _phase: ReductionPhase
) -> TractResult<Option<ReducedOpRewire>>
[src]

fn pulsify(
    &self,
    _inputs: TVec<&PulsedTensorFact>
) -> TractResult<Vec<PulsifiedOp>>
[src]

fn const_value(&self) -> Option<SharedTensor>
[src]

fn rounding_errors(&self) -> bool
[src]

fn noutputs(&self) -> usize
[src]

fn info(&self) -> TractResult<Option<String>>
[src]

impl PartialEq<Delay> for Delay
[src]

impl Clone for Delay
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Delay
[src]

Auto Trait Implementations

impl Send for Delay

impl Sync for Delay

Blanket Implementations

impl<O> StatefullOp for O where
    O: StatelessOp + Clone
[src]

impl<O> InferenceOp for O where
    O: InferenceRulesOp
[src]

impl<PB, Tract> ToTract for PB where
    Tract: Tractify<PB>, 
[src]

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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