Typedef torch::nn::ZeroPad2dOptions¶
Defined in File padding.h
Typedef Documentation¶
-
using torch::nn::ZeroPad2dOptions = ZeroPadOptions<2>¶
ZeroPadOptionsspecialized for theZeroPad2dmodule.Example:
ConstantPad2d model(ConstantPad2dOptions({1, 1, 2, 0});