pytorch/torch/csrc/tensor
Edward Yang 3deb4791c3 Replace 'struct Tensor' with 'class Tensor'. (#12034)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12034

We need ATen and Caffe2 to line up, and the rule is
that if you have any private/protected members, you
should declare it as a class.  Class we go.

(There are some other obvious candidates for this treatment,
but I've kept this patch just to Tensor)

Reviewed By: gchanan, mingzhe09088

Differential Revision: D10024467

fbshipit-source-id: 17cfe2741ba9c3f56cb87d6f5d1afd3c61a8e4fe
2018-09-25 09:54:35 -07:00
..
python_tensor.cpp Unify C++ API with C++ extensions (#11510) 2018-09-24 14:44:21 -07:00
python_tensor.h Replace 'struct Tensor' with 'class Tensor'. (#12034) 2018-09-25 09:54:35 -07:00