pytorch/torch/csrc/tensor
Brian Vaughan c406bf20a0 error instead of crashing on attempt to subclass typed tensors (#20283)
Summary:
https://github.com/pytorch/pytorch/issues/20052

typed tensors (e.g. torch.FloatTensor) can't be subclassed. Was causing
crashes and other errors.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/20283

Differential Revision: D15278138

Pulled By: nairbv

fbshipit-source-id: 8493eac4d34dfb76b054362bf0acec02146cd0e2
2019-05-09 07:10:38 -07:00
..
python_tensor.cpp error instead of crashing on attempt to subclass typed tensors (#20283) 2019-05-09 07:10:38 -07:00
python_tensor.h Generate only one Type class per backend (#19295) 2019-04-21 21:16:14 -07:00