Rename gesv to solve (#18060)
authorVishwak Srinivasan <cs15btech11043@iith.ac.in>
Mon, 18 Mar 2019 23:01:02 +0000 (16:01 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 18 Mar 2019 23:04:24 +0000 (16:04 -0700)
commit421b508d55caa39a983be29e2e6ce79b91f9405e
tree20681b8781d280ab54a453eef40036862b1e4e28
parent0eb4f7aa71a1aeff0727c546210877bfcb3c4ee3
Rename gesv to solve (#18060)

Summary:
Changelog:

- Renames `gesv` to `solve` to remain consistent with `cholesky_solve`.
- Rename all tests, fix callsites
- Create a tentative alias for `solve` under the name `gesv`, and add a deprecated warning to not promote usage.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18060

Differential Revision: D14503117

Pulled By: zou3519

fbshipit-source-id: 99c16d94e5970a19d7584b5915f051c030d49ff5
21 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/BatchLinearAlgebra.cpp
aten/src/ATen/native/LinearAlgebraUtils.h
aten/src/ATen/native/cuda/BatchLinearAlgebra.cu
aten/src/ATen/native/native_functions.yaml
docs/source/tensors.rst
docs/source/torch.rst
test/common_methods_invocations.py
test/test_cuda.py
test/test_torch.py
tools/autograd/derivatives.yaml
tools/autograd/gen_python_functions.py
tools/autograd/templates/Functions.cpp
torch/_tensor_docs.py
torch/_torch_docs.py
torch/csrc/jit/passes/shape_analysis.cpp
torch/functional.py
torch/tensor.py