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