Skip to main content

ClikaRT::nn::PixelShuffleOptions

struct

Header: ClikaRT/nn/generated/pixelshuffle.h

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

Member functions​

PixelShuffleOptions()​

PixelShuffleOptions(std::int64_t upscale_factor)

PixelShuffleOptions(upscale_factor): implicit, so PixelShuffle(upscale_factor) reads like the function call.

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

upscale_factor(int64_t)​

PixelShuffleOptions& upscale_factor(std::int64_t v)

Sets upscale_factor, the factor r.

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

upscale_factor()​

std::int64_t upscale_factor() const

Reads upscale_factor.

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

mode(ops::PixelShuffleMode)​

Sets mode, the channel ordering of the packed input.

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

mode()​

ops::PixelShuffleMode mode() const

Reads mode.

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

Data members​

upscale_factor_​

std::int64_t upscale_factor_

The factor r. Required: set through the constructor.

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

mode_​

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

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