Skip to main content

create_structuring_element

Function create_structuring_element 

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

Create a structuring element tensor for use with morphology ops