Closed gkorepanov closed 3 years ago
In torch 1.9 a custom metaclass was added to torch.Tensor class, causing metaclass conflict while subclassing from torch.Tensor and TensorTypeMixin. This small fix seems to resolve the issue.
torch.Tensor
TensorTypeMixin
LGTM. Thanks for the fix!
In torch 1.9 a custom metaclass was added to
torch.Tensor
class, causing metaclass conflict while subclassing fromtorch.Tensor
andTensorTypeMixin
. This small fix seems to resolve the issue.