pytorch
f6cadad1 - Delete redefinitions of methods in Variable already present on Tensor. (#29667)

Commit
5 years ago
Delete redefinitions of methods in Variable already present on Tensor. (#29667) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/29667 Some previous implementations are defined in native_functions.yaml. In this case, I don't define them explicitly in Tensor; instead they are placed in VariableTypeManual.cpp. When I did this, I would have deleted documentation; instead, this documentation was moved to native_functions.yaml This also replaces `current_version` with just `_version`. This is a carved out portion of #28287, rebased past Tensor-Variable merge. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Differential Revision: D18504934 Pulled By: ezyang fbshipit-source-id: be7adf45b637daffe2b0b1631eb31d967525fc31
Author
Parents
Loading