Class ConstantPad3dImpl¶
Defined in File padding.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ConstantPadImpl< 3, ConstantPad3dImpl >
(Template Class ConstantPadImpl)
Class Documentation¶
-
class ConstantPad3dImpl : public torch::nn::ConstantPadImpl<3, ConstantPad3dImpl>¶
Applies ConstantPad over a 3-D input.
See https://pytorch.org/docs/main/nn.html#torch.nn.ConstantPad3d to learn about the exact behavior of this module.
See the documentation for
torch::nn::ConstantPad3dOptions
class to learn what constructor arguments are supported for this module.Example:
ConstantPad3d model(ConstantPad3dOptions({1, 2, 1, 2, 1, 2}, 3.5));