Skip to main content

dilate_dim

Function dilate_dim 

Source
pub fn dilate_dim(d: usize, dilation: usize) -> usize
Expand description

The size of a dimension of size d after dilation: 1 + dilation * (d - 1), or 0 for an empty dimension.