Repeats the rows and columns of the data
by size[0] and size[1] respectively.
Input shape:
4D tensor with shape:
- If dataFormat is "channelsLast":
[batch, rows, cols, channels]
- If dataFormat is "channelsFirst":
[batch, channels, rows, cols]
Output shape:
4D tensor with shape:
- If dataFormat is "channelsLast":
[batch, upsampledRows, upsampledCols, channels]
- If dataFormat is "channelsFirst":
[batch, channels, upsampledRows, upsampledCols]
Upsampling layer for 2D inputs.
Repeats the rows and columns of the data by size[0] and size[1] respectively.
Input shape: 4D tensor with shape: - If
dataFormat
is"channelsLast"
:[batch, rows, cols, channels]
- IfdataFormat
is"channelsFirst"
:[batch, channels, rows, cols]
Output shape: 4D tensor with shape: - If
dataFormat
is"channelsLast"
:[batch, upsampledRows, upsampledCols, channels]
- IfdataFormat
is"channelsFirst"
:[batch, channels, upsampledRows, upsampledCols]