Skip to main content

IntVisionOps

Trait IntVisionOps 

pub trait IntVisionOps: Backend {
    // Provided methods
    fn int_erode(
        input: Self::IntTensorPrimitive,
        kernel: Self::BoolTensorPrimitive,
        opts: MorphOptions,
    ) -> Self::IntTensorPrimitive { ... }
    fn int_dilate(
        input: Self::IntTensorPrimitive,
        kernel: Self::BoolTensorPrimitive,
        opts: MorphOptions,
    ) -> Self::IntTensorPrimitive { ... }
}
Expand description

Vision ops on int tensors

Provided Methods§

fn int_erode( input: Self::IntTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::IntTensorPrimitive

Erodes an input tensor with the specified kernel.

fn int_dilate( input: Self::IntTensorPrimitive, kernel: Self::BoolTensorPrimitive, opts: MorphOptions, ) -> Self::IntTensorPrimitive

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".

Implementors§

§

impl IntVisionOps for Dispatch

§

impl IntVisionOps for Flex

§

impl<B> IntVisionOps for Fusion<B>

Available on crate feature fusion only.