Rate this Page

Class AdaptiveAvgPool3dImpl#

Inheritance Relationships#

Base Type#

Class Documentation#

class AdaptiveAvgPool3dImpl : public torch::nn::AdaptiveAvgPoolImpl<3, ExpandingArrayWithOptionalElem<3>, AdaptiveAvgPool3dImpl>#

Applies adaptive avgpool over a 3-D input.

See https://pytorch.org/docs/main/nn.html#torch.nn.AdaptiveAvgPool3d to learn about the exact behavior of this module.

See the documentation for torch::nn::AdaptiveAvgPool3dOptions class to learn what constructor arguments are supported for this module.

Example:

AdaptiveAvgPool3d model(AdaptiveAvgPool3dOptions(3));

Public Functions

Tensor forward(const Tensor &input)#