Rate this Page

Class ZeroPad2d#

Inheritance Relationships#

Base Type#

Class Documentation#

class ZeroPad2d : public torch::nn::ModuleHolder<ZeroPad2dImpl>#

A ModuleHolder subclass for ZeroPad2dImpl.

See the documentation for ZeroPad2dImpl class to learn what methods it provides, and examples of how to use ZeroPad2d with torch::nn::ZeroPad2dOptions. See the documentation for ModuleHolder to learn about PyTorch’s module storage semantics.

Public Types

using Impl = ZeroPad2dImpl#