Skip to main content

stride_dim

Function stride_dim 

Source
pub fn stride_dim(d: i64, window: usize, stride: usize) -> usize
Expand description

The number of windows of size window with step stride in a dimension of size d: max(0, (d - window) / stride + 1).