Default arguments

25/06/2021 14 min Episodio 38
Default arguments

Listen "Default arguments"

Episode Synopsis

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