#[non_exhaustive]pub enum ProcessorPrimitive {
Show 21 variants
RgbResizeBicubic,
RgbResizeLanczos3,
RgbNormalize,
VideoSampling,
AudioWindow,
AudioSpectrum,
AudioMelFilter,
AudioLogarithm,
TensorU32,
TensorF32,
TensorI32,
TensorBool,
Padding,
Concatenation,
Slicing,
Indexing,
MaskConstruction,
Merge,
Encoder,
Projector,
MetadataInspection,
}Expand description
One generic host-media or tensor operation required by neutral preparation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RgbResizeBicubic
Bicubic RGB image resizing.
RgbResizeLanczos3
Three-lobe Lanczos RGB image resizing.
RgbNormalize
Channel-wise rescaling and normalization.
VideoSampling
Deterministic decoded-video frame selection and timestamps.
AudioWindow
Windowed mono PCM framing.
AudioSpectrum
Real-valued spectrum calculation.
AudioMelFilter
Mel filter-bank projection.
AudioLogarithm
Numeric logarithm over audio features.
TensorU32
Unsigned token tensor construction.
TensorF32
Floating-point tensor construction.
TensorI32
Signed metadata tensor construction.
TensorBool
Boolean metadata tensor construction.
Padding
Tensor padding.
Concatenation
Tensor concatenation.
Slicing
Tensor slicing.
Indexing
Indexed tensor movement.
MaskConstruction
Boolean or causal mask construction.
Merge
Scatter or ordered merge into decoder positions.
Encoder
Native encoder module execution.
Projector
Native projector module execution.
MetadataInspection
Exact small integer and Boolean metadata evaluation.
Trait Implementations§
Source§impl Clone for ProcessorPrimitive
impl Clone for ProcessorPrimitive
Source§fn clone(&self) -> ProcessorPrimitive
fn clone(&self) -> ProcessorPrimitive
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more