Better HN
topnewbestaskshowjobs
Log inSign up

jbschlosser

4 karma · joined Dec 14, 2021 (4y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

FYI PyTorch now supports "same" padding for convolutions with stride=1; see the docs here: https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.ht...

The stride>1 case has been a bit more controversial within TensorFlow, and there is ongoing discussion on the correct way to implement it within PyTorch on the issue: https://github.com/pytorch/pytorch/issues/3867

comment 4y ago · link · parent

This is supported by PyTorch as well with nn.LazyLinear: https://pytorch.org/docs/stable/generated/torch.nn.LazyLinea....