What is torch nn.SpatialConvolution and nn.SpatialMaxpooling equivalent in PyTorch?
I’m not that familiar with LuaTorch, but it seems nn.SpatialConvolution
and nn.SpacialMaxpooling
are nn.Conv2d
and nn.MaxPool2d
, respectively.
Have a look at the conv modules.