subclass_zoo
subclass_zoo copied to clipboard
Make it possible to construct tensor subclasses without having to always redefine __new__
https://github.com/pytorch/pytorch/pull/73727 is an attempt at doing this it ran into problems. Fortunately, we have an updated plan at https://github.com/pytorch/pytorch/pull/73727#issuecomment-1059216810 that just needs to be implemented