pub struct PinnedConvolution<T: ConvElement>(_);
Expand description

Convolution with pinned memory for filters, signal and output. Pinning memory increases efficiency at the cost of making the convolution less flexible.

PinnedConvolution can be created from a FiltersConvolution by calling pin().

Implementations

Spatial size of the convolution.

Returns general parameters of the convolution.

Sets convolution parameters.

Computes the convolution on the provided signal.

Panics
  • Panics if signal dimensions do not agree with the ones provided to the pin() method.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.