Shortcuts

Struct CrossMapLRN2dOptions

Page Contents

Struct Documentation

struct CrossMapLRN2dOptions

Options for the CrossMapLRN2d module.

Example:

CrossMapLRN2d model(CrossMapLRN2dOptions(3).alpha(1e-5).beta(0.1).k(10));

Public Functions

CrossMapLRN2dOptions(int64_t size)
inline auto size(const int64_t &new_size) -> decltype(*this)
inline auto size(int64_t &&new_size) -> decltype(*this)
inline const int64_t &size() const noexcept
inline int64_t &size() noexcept
inline auto alpha(const double &new_alpha) -> decltype(*this)
inline auto alpha(double &&new_alpha) -> decltype(*this)
inline const double &alpha() const noexcept
inline double &alpha() noexcept
inline auto beta(const double &new_beta) -> decltype(*this)
inline auto beta(double &&new_beta) -> decltype(*this)
inline const double &beta() const noexcept
inline double &beta() noexcept
inline auto k(const int64_t &new_k) -> decltype(*this)
inline auto k(int64_t &&new_k) -> decltype(*this)
inline const int64_t &k() const noexcept
inline int64_t &k() 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