Rename trtrs to triangular_solve (#18213)
authorvishwakftw <cs15btech11043@iith.ac.in>
Thu, 21 Mar 2019 21:18:38 +0000 (14:18 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Mar 2019 21:27:21 +0000 (14:27 -0700)
commit291746f11047361100102577ce7d1cfa1833be50
tree64be66d91a8e947e4b2c1444e75cacc371286f8e
parent1c671c56c16b203ececd1ee6f70a0f6fcb9265a5
Rename trtrs to triangular_solve (#18213)

Summary:
Changelog:
- Renames `trtrs` to `triangular_solve` to remain consistent with `cholesky_solve` and `solve`.
- Rename all tests, fix callsites
- Create a tentative alias for `triangular_solve` under the name `trtrs`, and add a deprecation warning to not promote usage.
- Move `isnan` to _torch_docs.py
- Remove unnecessary imports
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18213

Differential Revision: D14566902

Pulled By: ezyang

fbshipit-source-id: 544f57c29477df391bacd5de700bed1add456d3f
22 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/cuda/BatchLinearAlgebra.cu
aten/src/ATen/native/native_functions.yaml
docs/source/tensors.rst
docs/source/torch.rst
test/test_autograd.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/distributions/kl.py
torch/distributions/lowrank_multivariate_normal.py
torch/distributions/multivariate_normal.py
torch/functional.py
torch/tensor.py