maxunpool
Unpool the output of a maximum pooling operation
Description
The maximum unpooling operation unpools the output of a maximum pooling operation by upsampling and padding with zeros.
The maxunpool
function applies the maximum unpooling operation to
dlarray
data.
Using dlarray
objects makes working with high
dimensional data easier by allowing you to label the dimensions. For example, you can label
which dimensions correspond to spatial, time, channel, and batch dimensions using the
"S"
, "T"
, "C"
, and
"B"
labels, respectively. For unspecified and other dimensions, use the
"U"
label. For dlarray
object functions that operate
over particular dimensions, you can specify the dimension labels by formatting the
dlarray
object directly, or by using the DataFormat
option.
Note
To apply maximum unpooling within a dlnetwork
object, use maxUnpooling2dLayer
.
upsamples the spatial or time dimensions of input data Y
= maxunpool(X
,indx
,outputSize
)X
to match the
size outputSize
. The data is padded with zeros between the locations of
maximum values specified by indx
. The input X
is a
formatted dlarray
with dimension labels. The output Y
is a formatted dlarray
with the same dimension format as
X
.
also specifies the dimension format Y
= maxunpool(X
,indx
,outputSize
,'DataFormat',FMT
)FMT
when X
is not
a formatted dlarray
. The output Y
is an unformatted
dlarray
with the same dimension order as X
.
Examples
Input Arguments
Output Arguments
Algorithms
Extended Capabilities
Version History
Introduced in R2019b