Skip to main content

ClikaRT::nn::MaxPool3d

class

Header: ClikaRT/nn/generated/pooling.h
Inherits: ClikaRT::nn::Module

Max pooling over a 3-D window; the input is channels-last [N, D1..D3, C]. The module form of ClikaRT::ops::max_pool3d, which documents the full contract (shapes, dtypes, errors); construct once, then call it like a function.

Member functions​

MaxPool3d(MaxPool3dOptions)​

explicit MaxPool3d(MaxPool3dOptions options)

Constructs the module from options.

Declared in ClikaRT/nn/generated/pooling.h, line 309

MaxPool3d(vector<int64_t>)​

explicit MaxPool3d(std::vector<std::int64_t> kernel_size)

MaxPool3d(kernel_size): the positional form of MaxPool3dOptions(kernel_size).

Declared in ClikaRT/nn/generated/pooling.h, line 312

forward()​

Tensor forward(Tensor input) const

forward_impl, unwrapped: raises ClikaRT::Error on failure.

Declared in ClikaRT/nn/generated/pooling.h, line 326

operator()()​

Tensor operator()(Tensor input) const

Same as forward.

Declared in ClikaRT/nn/generated/pooling.h, line 330

options()​

const MaxPool3dOptions& options() const

The settings this module was constructed with.

Declared in ClikaRT/nn/generated/pooling.h, line 334