1\right\rfloor,
where \text{spatial_size} is formed by the spatial dimensions of
   "input" (* above), and d is over all spatial dimensions.
Therefore, indexing "output" at the last dimension (column
   dimension) gives all values within a certain block.
The "padding", "stride" and "dilation" arguments specify how the
   sliding blocks are retrieved.


"stride" controls the stride for the sliding blocks.


"padding" controls the amount of implicit zero-paddings on both
     sides for "padding" number of points for each dimension before
     reshaping.


"dilation" controls the spacing between the kernel points; also
     known as the Ã  trous algorithm. It is harder to describe, but
     this link has a nice visualization of what "dilation" does.


Parameters:
      * kernel_size (int or tuple) -- the size of the
        sliding blocks
  * **dilation** (*int** or **tuple**, **optional*) -- a parameter
