Rename btrisolve to lu_solve (#18726)
authorVishwak Srinivasan <cs15btech11043@iith.ac.in>
Tue, 9 Apr 2019 22:15:06 +0000 (15:15 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 9 Apr 2019 22:21:24 +0000 (15:21 -0700)
commit487388d8ad07e8e5630edf6887b8246466fe4156
tree3645e2d2475b7a2715e85f1e52bd84f33c96d35e
parent5eb6a2be415121171f2d8c4f67bf727071eb32f9
Rename btrisolve to lu_solve (#18726)

Summary:
Changelog:
- Rename `btrisolve` to `lu_solve` to remain consistent with names of solve methods (`cholesky_solve`, `triangular_solve`, `solve`)
- Fix all callsites
- Rename all tests
- Create a tentative alias for `lu_solve` under the name `btrisolve` and add a deprecation warning to not promote usage
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18726

Differential Revision: D14726237

Pulled By: zou3519

fbshipit-source-id: bf25f6c79062183a4153015e0ec7ebab2c8b986b
15 files changed:
aten/src/ATen/core/Tensor.h
aten/src/ATen/core/TensorMethods.h
aten/src/ATen/core/Type.h
aten/src/ATen/core/aten_interned_strings.h
aten/src/ATen/native/LegacyDefinitions.cpp
aten/src/ATen/native/native_functions.yaml
docs/source/tensors.rst
docs/source/torch.rst
test/test_cuda.py
test/test_torch.py
tools/autograd/derivatives.yaml
torch/_tensor_docs.py
torch/_torch_docs.py
torch/functional.py
torch/tensor.py