Parameters: |
- input (N-D theano tensor of input images.) – input images. Max pooling will be done over the 2 last
dimensions.
- ds (tuple of length 2) – factor by which to downscale (vertical ds, horizontal ds).
(2,2) will halve the image in each dimension.
- ignore_border (bool) – When True, (5,5) input with ds=(2,2)
will generate a (2,2) output. (3,3) otherwise.
- st (tuple of lenght 2) – stride size, which is the number of shifts
over rows/cols to get the the next pool region.
if st is None, it is considered equal to ds
(no overlap on pooling regions)
- padding (tuple of two ints) – (pad_h, pad_w), pad zeros to extend beyond four borders
of the images, pad_h is the size of the top and bottom margins,
and pad_w is the size of the left and right margins.
|