Unpool the output of a maximum pooling operation
The maximum unpooling operation unpools the output of a maximum pooling operation by upsampling and padding with zeros.
Note
This function applies the maximum unpooling operation to dlarray
data. If
you want to apply maximum unpooling within a layerGraph
object
or Layer
array, use
the following layer:
upsamples the spatial dimensions of input data dlY
= maxunpool(dlX
,indx
,outputSize
)dlX
to match the size
outputSize
. The data is padded with zeros between the locations of
maximum values specified by indx
. The input dlX
is a
formatted dlarray
with dimension labels. The output
dlY
is a formatted dlarray
with the same dimension
labels as dlX
.
also specifies the dimension format dlY
= maxunpool(dlX
,indx
,outputSize
,'DataFormat',FMT
)FMT
when dlX
is
not a formatted dlarray
. The output dlY
is an
unformatted dlarray
with the same dimension order as
dlX
.
dlarray
| dlfeval
| dlgradient
| maxpool