pytorch/torch/csrc/tensor
albanD b119e1bcc2 Fix refcount handling for dtype, layout and memory format (#125271)
Finish fixing https://github.com/pytorch/pytorch/issues/124868
re-use our wrap() utils as much as possible and NewRef in other places.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/125271
Approved by: https://github.com/colesbury
2024-05-02 02:34:34 +00:00
..
python_tensor.cpp Fix refcount handling for dtype, layout and memory format (#125271) 2024-05-02 02:34:34 +00:00
python_tensor.h