Shortcuts

Template Struct LPPoolOptions

Page Contents

Struct Documentation

template<size_t D>
struct torch::nn::LPPoolOptions

Options for a D-dimensional lppool module.

Public Functions

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