Class AvgPool3dImpl#
Defined in File pooling.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::AvgPoolImpl< 3, AvgPool3dImpl >
(Template Class AvgPoolImpl)
Class Documentation#
-
class AvgPool3dImpl : public torch::nn::AvgPoolImpl<3, AvgPool3dImpl>#
Applies avgpool over a 3-D input.
See https://pytorch.org/docs/main/nn.html#torch.nn.AvgPool3d to learn about the exact behavior of this module.
See the documentation for
torch::nn::AvgPool3dOptions
class to learn what constructor arguments are supported for this module.Example:
AvgPool3d model(AvgPool3dOptions(5).stride(2));
Public Functions
-
Tensor forward(const Tensor &input)#
-
Tensor forward(const Tensor &input)#