UpSampling2D - SkyWorld117/DianoiaML.jl GitHub Wiki

UpSampling2D can make the output size of a picture larger and it uses the "nearest" method.

UpSampling2D(;input_shape::Tuple, size::Tuple{Int64, Int64}, activation_function::Module)

input_shape: a tuple of input data shape, (s1, s2, channels), can be set automatically, unless it is the first layer in the network

size: the expected size of each element in the output, a tuple of two integers