ClikaRT::nn::PixelShuffle
class
Header: ClikaRT/nn/generated/pixelshuffle.h
Inherits: ClikaRT::nn::Module
Moves channels into the spatial axes: [N, H, W, C * r * r] to [N, H * r, W * r, C] for the factor r. The module form of ClikaRT::ops::pixel_shuffle, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.
Member functions
PixelShuffle(PixelShuffleOptions)
explicit PixelShuffle(PixelShuffleOptions options)
Constructs the module from options.
Declared in ClikaRT/nn/generated/pixelshuffle.h, line 62
PixelShuffle(int64_t)
explicit PixelShuffle(std::int64_t upscale_factor)
PixelShuffle(upscale_factor): the positional form of PixelShuffleOptions(upscale_factor).
Declared in ClikaRT/nn/generated/pixelshuffle.h, line 65
forward()
forward_impl, unwrapped: raises ClikaRT::Error on failure.
Declared in ClikaRT/nn/generated/pixelshuffle.h, line 78
operator()()
Same as forward.
Declared in ClikaRT/nn/generated/pixelshuffle.h, line 82
options()
const PixelShuffleOptions& options() const
The settings this module was constructed with.
Declared in ClikaRT/nn/generated/pixelshuffle.h, line 86