Namedtuple return for gels, triangular_solve, and test refactor (#17195)
authorXiang Gao <qasdfgtyuiop@gmail.com>
Tue, 9 Apr 2019 16:10:42 +0000 (09:10 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 9 Apr 2019 16:13:26 +0000 (09:13 -0700)
commit89145e602b91064a87c7f57bfe58364c145f69bd
tree268869fd47e8397ae75e1a8a68021737c1cb8784
parent48a35135fb654bbecb8a1dfe08c7e378829e9b99
Namedtuple return for gels, triangular_solve, and test refactor (#17195)

Summary:
Partial fix of: https://github.com/pytorch/pytorch/issues/394
- `gels` and `triangular_solve` now returns namedtuple
- refactor test for namedtuple API for better coverage and maintainability
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17195

Differential Revision: D14851875

Pulled By: ezyang

fbshipit-source-id: 9b2cba95564269d2c3a15324ba48751d68ed623c
aten/src/ATen/native/native_functions.yaml
test/test_namedtuple_return_api.py
test/test_torch.py
tools/autograd/derivatives.yaml
torch/_torch_docs.py