Skip to main content

ClikaRT::nn::PixelUnshuffleOptions

struct

Header: ClikaRT/nn/generated/pixelshuffle.h

Settings of PixelUnshuffle: chain the setters, or assign the fields.

Member functions​

PixelUnshuffleOptions()​

PixelUnshuffleOptions(std::int64_t downscale_factor)

PixelUnshuffleOptions(downscale_factor): implicit, so PixelUnshuffle(downscale_factor) reads like the function call.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 100

downscale_factor(int64_t)​

PixelUnshuffleOptions& downscale_factor(std::int64_t v)

Sets downscale_factor, the factor r.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 104

downscale_factor()​

std::int64_t downscale_factor() const

Reads downscale_factor.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 109

mode(ops::PixelShuffleMode)​

Sets mode, the channel ordering of the packed output.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 114

mode()​

ops::PixelShuffleMode mode() const

Reads mode.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 116

Data members​

downscale_factor_​

std::int64_t downscale_factor_

The factor r. Required: set through the constructor.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 111

mode_​

The channel ordering of the packed output. Default ops::PixelShuffleMode::CRD.

Declared in ClikaRT/nn/generated/pixelshuffle.h, line 119