Shortcuts

Struct PixelShuffleOptions

Page Contents

Struct Documentation

struct PixelShuffleOptions

Options for the PixelShuffle module.

Example:

PixelShuffle model(PixelShuffleOptions(5));

Public Functions

inline PixelShuffleOptions(int64_t upscale_factor)
inline auto upscale_factor(const int64_t &new_upscale_factor) -> decltype(*this)

Factor to increase spatial resolution by.

inline auto upscale_factor(int64_t &&new_upscale_factor) -> decltype(*this)
inline const int64_t &upscale_factor() const noexcept
inline int64_t &upscale_factor() noexcept

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources