megengine.functional.nn.sliding_window¶
- sliding_window(inp, kernel_size, padding=0, stride=1, dilation=1)[源代码]¶
Extracts sliding local blocks from a batched input tensor.
Refer to
SlidingWindow
for more information.
Extracts sliding local blocks from a batched input tensor.
Refer to SlidingWindow
for more information.