Move lerp to ATen, add functionality for tensor weights (#17348)
authorvishwakftw <cs15btech11043@iith.ac.in>
Thu, 7 Mar 2019 22:01:47 +0000 (14:01 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 7 Mar 2019 22:04:58 +0000 (14:04 -0800)
commit9d70e199f46b00d687e881e40e77135d620d6446
treef6dd565faae29034d634b1a2143b730594d0445e
parent6227afb305e01d73633742383095f42dffd29f63
Move lerp to ATen, add functionality for tensor weights (#17348)

Summary:
Changelog:
- Remove TH/THC bindings
- Add tensor weights for `lerp`
- Modify derivatives appropriately
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17348

Differential Revision: D14355845

Pulled By: soumith

fbshipit-source-id: eaede4c09ee589d77ba6cf52583510ea8e3a2fcf
21 files changed:
aten/src/ATen/Declarations.cwrap
aten/src/ATen/core/Tensor.h
aten/src/ATen/core/TensorMethods.h
aten/src/ATen/core/Type.h
aten/src/ATen/native/LegacyDefinitions.cpp
aten/src/ATen/native/Lerp.cpp [new file with mode: 0644]
aten/src/ATen/native/cuda/Lerp.cu [new file with mode: 0644]
aten/src/ATen/native/native_functions.yaml
aten/src/TH/THMath.h
aten/src/TH/generic/THTensorMath.h
aten/src/TH/generic/THTensorMoreMath.cpp
aten/src/THC/THCTensorMathPointwise.cuh
aten/src/THC/generic/THCTensorMathPointwise.cu
aten/src/THC/generic/THCTensorMathPointwise.h
test/common_methods_invocations.py
test/test_autograd.py
test/test_cuda.py
test/test_torch.py
tools/autograd/derivatives.yaml
torch/_torch_docs.py
torch/csrc/jit/passes/shape_analysis.cpp