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
dataFormatis"channelsLast":[batch, rows, cols, channels]- IfdataFormatis"channelsFirst":[batch, channels, rows, cols]Output shape: 4D tensor with shape: - If
dataFormatis"channelsLast":[batch, upsampledRows, upsampledCols, channels]- IfdataFormatis"channelsFirst":[batch, channels, upsampledRows, upsampledCols]