Extracts sliding local blocks from an batched input tensor.
Arguments
- input
the input tensor
- kernel_size
the size of the sliding blocks
- dilation
a parameter that controls the stride of elements within the neighborhood. Default: 1
- padding
implicit zero padding to be added on both sides of input. Default: 0
- stride
the stride of the sliding blocks in the input spatial dimensions. Default: 1