
Sign up to save your podcasts
Or


What do default arguments have to do with PyTorch design? Why are default arguments great for clients (call sites) but not for servers (implementation sites)? In what sense are default arguments a canonicalization to max arity? What problems does this canonicalization cause? Can you canonicalize to minimum arity? What are some lessons to take?
Further reading. https://github.com/pytorch/pytorch/issues/54613 stop serializing default arguments
By Edward Yang, Team PyTorch4.8
4949 ratings
What do default arguments have to do with PyTorch design? Why are default arguments great for clients (call sites) but not for servers (implementation sites)? In what sense are default arguments a canonicalization to max arity? What problems does this canonicalization cause? Can you canonicalize to minimum arity? What are some lessons to take?
Further reading. https://github.com/pytorch/pytorch/issues/54613 stop serializing default arguments

583 Listeners

429 Listeners

5,109 Listeners

10,254 Listeners