pub trait QVisionOps: Backend {
// Provided methods
fn q_erode(
input: QuantizedTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Float>,
) -> QuantizedTensor<Self> { ... }
fn q_dilate(
input: QuantizedTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Float>,
) -> QuantizedTensor<Self> { ... }
}Expand description
Vision ops on quantized float tensors
Provided Methods§
Sourcefn q_erode(
input: QuantizedTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Float>,
) -> QuantizedTensor<Self>
fn q_erode( input: QuantizedTensor<Self>, kernel: BoolTensor<Self>, opts: MorphOptions<Self, Float>, ) -> QuantizedTensor<Self>
Erodes an input tensor with the specified kernel.
Sourcefn q_dilate(
input: QuantizedTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Float>,
) -> QuantizedTensor<Self>
fn q_dilate( input: QuantizedTensor<Self>, kernel: BoolTensor<Self>, opts: MorphOptions<Self, Float>, ) -> QuantizedTensor<Self>
Dilates an input tensor with the specified kernel.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.