Class ConstantPad2d¶
Defined in File padding.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< ConstantPad2dImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class ConstantPad2d : public torch::nn::ModuleHolder<ConstantPad2dImpl>¶
A
ModuleHolder
subclass forConstantPad2dImpl
.See the documentation for
ConstantPad2dImpl
class to learn what methods it provides, and examples of how to useConstantPad2d
withtorch::nn::ConstantPad2dOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = ConstantPad2dImpl¶
-
using Impl = ConstantPad2dImpl¶