Support named return arguments in native_functions. (#14100)
authorGregory Chanan <gchanan@fb.com>
Mon, 19 Nov 2018 16:18:47 +0000 (08:18 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 19 Nov 2018 16:27:20 +0000 (08:27 -0800)
commitfc61f1a1d1955aa0a5f2c99a70eb3804c8594be5
treedc719598eb64870bdda110745846cc13de653e84
parentce85150cb4dd24b7a3d80f8be18ec350018da11e
Support named return arguments in native_functions. (#14100)

Summary:
Note there was a hacky way of doing this before by specifying "return:" lists manually; this makes the
return names part of the function declaration itself.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14100

Differential Revision: D13101810

Pulled By: gchanan

fbshipit-source-id: 1c80574cd4e8263764fc65126427b122fe36df35
aten/src/ATen/function_wrapper.py
aten/src/ATen/native/README.md
aten/src/ATen/native/native_functions.yaml
aten/src/ATen/native_parse.py
tools/autograd/derivatives.yaml
tools/autograd/load_derivatives.py