pub trait IntVisionOps: Backend {
// Provided methods
fn int_erode(
input: IntTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Int>,
) -> IntTensor<Self> { ... }
fn int_dilate(
input: IntTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Int>,
) -> IntTensor<Self> { ... }
}Expand description
Vision ops on int tensors
Provided Methods§
Sourcefn int_erode(
input: IntTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Int>,
) -> IntTensor<Self>
fn int_erode( input: IntTensor<Self>, kernel: BoolTensor<Self>, opts: MorphOptions<Self, Int>, ) -> IntTensor<Self>
Erodes an input tensor with the specified kernel.
Sourcefn int_dilate(
input: IntTensor<Self>,
kernel: BoolTensor<Self>,
opts: MorphOptions<Self, Int>,
) -> IntTensor<Self>
fn int_dilate( input: IntTensor<Self>, kernel: BoolTensor<Self>, opts: MorphOptions<Self, Int>, ) -> IntTensor<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.