Skip to main content

create_structuring_element

Function create_structuring_element 

pub fn create_structuring_element(
    shape: KernelShape,
    ksize: Size,
    anchor: Option<Point>,
    device: &Device,
) -> Tensor<2, Bool>
Expand description

Create a structuring element tensor for use with morphology ops