Shortcuts

Template Struct LPPoolOptions

Page Contents

Struct Documentation

template<size_t D>
struct LPPoolOptions

Options for a D-dimensional lppool module.

Public Functions

inline LPPoolOptions(double norm_type, ExpandingArray<D> kernel_size)
inline auto norm_type(const double &new_norm_type) -> decltype(*this)
inline auto norm_type(double &&new_norm_type) -> decltype(*this)
inline const double &norm_type() const noexcept
inline double &norm_type() noexcept
inline auto kernel_size(const ExpandingArray<D> &new_kernel_size) -> decltype(*this)
inline auto kernel_size(ExpandingArray<D> &&new_kernel_size) -> decltype(*this)
inline const ExpandingArray<D> &kernel_size() const noexcept
inline ExpandingArray<D> &kernel_size() noexcept
inline auto stride(const ExpandingArray<D> &new_stride) -> decltype(*this)
inline auto stride(ExpandingArray<D> &&new_stride) -> decltype(*this)
inline const ExpandingArray<D> &stride() const noexcept
inline ExpandingArray<D> &stride() noexcept
inline auto ceil_mode(const bool &new_ceil_mode) -> decltype(*this)
inline auto ceil_mode(bool &&new_ceil_mode) -> decltype(*this)
inline const bool &ceil_mode() const noexcept
inline bool &ceil_mode() 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