pytorch/tools/codegen
Peter Bell 8b39498a23 codegen: Allow string arguments to have defaults (#45665)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/45665

Fixes #43944

Note that the codegen doesn't use a proper parser so, in the same way as with lists, the string `, ` cannot appear in defaults or it will be interpreted as a splitting point between arguments.

Test Plan: Imported from OSS

Reviewed By: albanD

Differential Revision: D24141835

Pulled By: ezyang

fbshipit-source-id: 578127861fd2504917f4486c44100491a2c40343
2020-10-06 21:53:56 -07:00
..
api codegen: Allow string arguments to have defaults (#45665) 2020-10-06 21:53:56 -07:00
__init__.py
code_template.py
gen.py codegen: Allow string arguments to have defaults (#45665) 2020-10-06 21:53:56 -07:00
local.py Byte-for-byte compatibility fixes in codegen (#44879) 2020-09-25 08:06:50 -07:00
model.py Add NativeFunction.signature and kind. (#45131) 2020-10-01 08:46:40 -07:00