AI Dynamics

Global AI News Aggregator

PyTorch F.pad Tensor Padding API Design Discussion

lol, I think I helped design it, and I think it looks clowntown from the lens of Tensor padding. F.pad was written as a consolidation of all the vision padding — for padding images, videos, etc. It consolidated nn.ReflectionPad2d, etc. from torch7. But looking at it from the

→ View original post on X — @soumithchintala,

Commentaires

Leave a Reply

Your email address will not be published. Required fields are marked *